Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Array Questionby Anonymous Monk |
on Aug 19, 2005 at 14:25 UTC ( [id://485151]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I have a simple question but it's confusing me. I have an array with multiple names and some of them are the same.
I need to count how many instances of each letter are in this array, can some one give a little help here?
Results should be like: red=3 blue=2 white=2 yellow=1 ... Thanks for the help!
Back to
Seekers of Perl Wisdom
|
|