in reply to Re: Count values of the inner hash?
in thread Count values of the inner hash?
# retrieve a list of keys my @keys = keys %{ $Prod{ref261} }; # return the number of elements in the list my $count = scalar @keys;
my $count = scalar keys %{ $Prod{ref261} };
my $count = keys %{ $Prod{ref261} };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Count values of the inner hash?
by bart (Canon) on Mar 28, 2004 at 11:21 UTC |