Several ways to do the same, i.e.
my $number = keys %myhash; print $number;Updated (to avoid duplication in the other post)
In reply to Re: number of keys and values in a hash
by pvaldes
in thread number of keys and values in a hash
by veerubiji
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |