in reply to
Counting occurances
Looks fine to me. As
le
mentioned, you could shorten it by rearranging like this:
$c{$_}++ for @a;
[download]
But it's essentially the same thing.
--
ZZamboni
Comment on
Re: Counting occurances
Download
Code
In Section
Seekers of Perl Wisdom