Perl – Usage Of Sigils And ()/[]/{}

Anyone interested in using Perl quickly grasps the difference between what a scalar, array and a hash are (signified by $, @ and % respectively). However what is often less clear is why $ is used when accessing arrays and hashes. Also when does one use (), [] and {}, and what are the differences? Then there are typeglobs (*)…

Continue reading