untestedmy $count = 0; for(@{$results{$addr}}) { $count += @{$results{$addr}{$_}} } print "$count outputs\n";
- Ant
- Some of my
best work - (1 2 3)
In reply to Re: Counting the elements of a hash of arrays of arrays
by suaveant
in thread Counting the elements of a hash of arrays of arrays
by Clownburner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |