Problems? Is your data what you think it is? | |
PerlMonks |
Re^3: hash deref confusion: Intermediate Perlby Anonymous Monk |
on Jul 30, 2012 at 08:13 UTC ( [id://984385]=note: print w/replies, xml ) | Need Help?? |
I wouldn't really say it's a quirk. You're assigning a list of values to a list of hash slots, so the @ sigil is quite appropriate. Sure, from that perspective it makes sense, but IIRC TheLarry himself called this a mistake, its why perl6 always calls a %hash a %hash{$key} not $hash{$key}
In Section
Seekers of Perl Wisdom
|
|