Do you know where your variables are? | |
PerlMonks |
Re: number of keys and values in a hashby pvaldes (Chaplain) |
on Oct 11, 2011 at 14:28 UTC ( [id://930829]=note: print w/replies, xml ) | Need Help?? |
Several ways to do the same, i.e. my $number = keys %myhash; print $number;Updated (to avoid duplication in the other post)
In Section
Seekers of Perl Wisdom
|
|