Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: length or array in a hashby brap (Pilgrim) |
on Nov 09, 2012 at 19:45 UTC ( [id://1003201]=note: print w/replies, xml ) | Need Help?? |
Hi ongaku, perldoc -f length says that length isn't the right thing to use to find the number of elements in the array (I am assuming here that you're looking for the number of elements in the array). I think something along the lines of scalar @{$hash{one}} might be what you're looking for.
In Section
Seekers of Perl Wisdom
|
|