my $count = keys %hash;
or
my $count = keys %{$hash{first}};
if you've got a hash of hashes
In reply to Re: num keys of the hash within hash?
by FunkyMonk
in thread num keys of the hash within hash?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |