# index of last element print $#{$h{a}},"\n"; # number of elements my $num = @{$h{a}}; print "$num\n";
In reply to Re: getting the number of fields in hash per key
by runrig
in thread getting the number of fields in hash per key
by Gerryjun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |