Stripping duplicates from a list

Kake L Pugh kake at earth.li
Thu Jun 12 17:28:28 BST 2008


On Thu 12 Jun 2008, Adrian Lai <perl at loathe.me.uk> wrote:
> my %hash = map {lc($_) => $_} reverse sort @list;
> my @uniquelist = values %hash;

Aidy is the winner.  Thanks everyone for replying.

Kake


More information about the london.pm mailing list