$num_foos = grep {$_ eq 'foo'} @array;
-- Mike
--
just,my${.02}
In reply to Re: Counting displaying unique array items
by thelenm
in thread How can I count and display unique items in an array? (was: array counting)
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |