1 2 3 4 5
List::Uniq extracts the unique elements of a list. This is a commonly re-written (or at least re-looked-up) idiom in Perl programs. WWW: http://search.cpan.org/dist/List-Uniq/