in reply to How can I count and display unique items in an array? (was: array counting)

I'm not sure about displaying it to the browser, but you can count the number of array elements matching certain criteria with grep. For example, to count the number of times 'foo' appears in an array:
$num_foos = grep {$_ eq 'foo'} @array;

-- Mike

--
just,my${.02}