Just another Perl shrine | |
PerlMonks |
Re: Counting keys in a referenced hashby mickeyn (Priest) |
on Dec 02, 2006 at 20:08 UTC ( [id://587440]=note: print w/replies, xml ) | Need Help?? |
$test doesn't refer to a hash ... it actually gets the last element from the list which is '3'. apply the following change: HTH, Mickey
In Section
Seekers of Perl Wisdom
|
|