And to multiply, iterate over the keys, via keys function, of each hash reference to find the count; store them; then multiply. See also "perlref" & "perlreftut" PODs.
In reply to Re^2: Count number of elements in HoH and sum them for other keys
by Anonymous Monk
in thread Count number of elements in HoH and sum them for other keys
by Sosi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |