P is for Practical | |
PerlMonks |
Re^2: how can i return the common keys from a hashby ivancho (Hermit) |
on Aug 05, 2006 at 01:19 UTC ( [id://565771]=note: print w/replies, xml ) | Need Help?? |
I am somewhat puzzled by the following DWIM: in scalar context, each returns the next key of the hash. Why doesn't, then, the assignment "my $m = each %$href" return false if the key is "0"? ie
In Section
Seekers of Perl Wisdom
|
|