Perl Monk, Perl Meditation | |
PerlMonks |
Re: meaning of '@' sigil on a hash?by ikegami (Patriarch) |
on Dec 08, 2007 at 19:19 UTC ( [id://655867]=note: print w/replies, xml ) | Need Help?? |
In Perl5, the sigil represents how the variable should be treated. It does not represent the type of the variable. So just like $ can be used by scalar, arrays and hashes, @ can be used by arrays and hashes.
This is all documented in perldata, including slices. Update: Reordered the columns.
In Section
Seekers of Perl Wisdom
|
|