We don't bite newbies here... much | |
PerlMonks |
Re^2: What is $x{$y}?by AnomalousMonk (Archbishop) |
on Sep 11, 2012 at 00:22 UTC ( [id://992880]=note: print w/replies, xml ) | Need Help?? |
In the $x{ @y } expression, array @y is being evaluated in scalar context, i.e., it yields the number of elements of the array. This number is then stringized as a key for the hash.
In Section
Seekers of Perl Wisdom
|
|