Your skill will accomplish
what the force of many cannot
sum of matching elements in an arrayby sickboy
|on Apr 13, 2001 at 10:42 UTC||Need Help??|
sickboy has asked for the
wisdom of the Perl Monks concerning the following question:
say i had a list of friends names with their favorite number.
I just want to know what numbers were people's favorites and
how many times each number was picked.
For the above example the output should be:
1 1 times
21 3 times
7 2 times