$sum += log_2($_) for values %hash
Cheers,
R.
In reply to Re: Accessing and performing calculations with elements of a hash
by Random_Walk
in thread Accessing and performing calculations with elements of a hash
by replicant4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |