more useful options | |
PerlMonks |
Re: finding matches in the same arrayby salva (Canon) |
on Apr 14, 2005 at 22:19 UTC ( [id://447991]=note: print w/replies, xml ) | Need Help?? |
use two hashes, one for totals an other for counters, them use two loops, one to populate these hashes and other to calculate the averages as total/counter:
In Section
Seekers of Perl Wisdom
|
|