The counts are in %hash now. HTH.@a = qw/foo bar foo baz bar qux foo/; $hash{$_}++ foreach @a;
--
There are 10 kinds of people -- those that understand binary, and those that don't.
In reply to Re: array counting
by mephit
in thread How can I count and display unique items in an array? (was: array counting)
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |