in reply to Re: How to find number of unique elemenst in array
in thread How to find number of unique elemenst in array

Counting repeated elements isn't exactly reinventing a wheel. What List modules/functions did you have in mind? (My List::Util::reduce solution was by way of a joke; I hadn't seen your post when I wrote it.)
  • Comment on Re^2: How to find number of unique elemenst in array

Replies are listed 'Best First'.
Re^3: How to find number of unique elemenst in array
by GrandFather (Saint) on Nov 27, 2008 at 20:47 UTC

    Oh ysth! Look at the OP's sig, then look again at my reply. ;)

    Although actually List::Uniq would seem to fit quite well.


    Perl's payment curve coincides with its learning curve.