Array-Uniq
view release on metacpan or search on metacpan
lib/Array/Uniq.pm view on Meta::CPAN
my @out = uniq sort @input;
my @out = distinct sort @input;
my @out = dups sort @input;
Uniq exports three methods 'uniq', 'distinct' and 'dups'.
All these methods accepts a list and returns a list.
=head1 ABSTRACT
Similar functionality is available at shell prompts of *nix O/S.
This modules is attempting to provide the same to Perl programming,
=head1 DESCRIPTION
The usage of the methods provided here is simple. You always provide
a sorted list to any of these methods and accept a sorted list of
values in return.
Suppose @lis1 and @list2 are two available lists defined as
follows:
( run in 2.264 seconds using v1.01-cache-2.11-cpan-6aa56a78535 )