Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^5: perl sort issue while going through article at perl.comby shmem (Chancellor) |
on Oct 23, 2007 at 05:51 UTC ( [id://646641]=note: print w/replies, xml ) | Need Help?? |
Number of keys is correct. Hash keys are unique. While you can say
in the sense that its's legal and perl won't complain, you end up with %hash containing just one entry. Each assignment overrides the previous one, and you have
finally. --shmem
In Section
Seekers of Perl Wisdom
|
|