Re: sort an array unique.
- From: Robert 'phaylon' Sedlacek <rs@xxxxxx>
- Date: Wed, 31 Jan 2007 16:43:03 +0100
Paul Lalli wrote:
On Jan 31, 9:23 am, "rajendra" <rajendra.pra...@xxxxxxxxxxxx> wrote:
Is there any command to sort an array uniquelly,something similar to
"sort -u" in unix.
Not built-in, but it's fairly easy to implement:
JFYI, it's also in List::MoreUtils as 'uniq'.
http://search.cpan.org/dist/List-MoreUtils/lib/List/MoreUtils.pm
--
# Robert 'phaylon' Sedlacek
# Perl 5/Catalyst Developer in Hamburg, Germany
{ EMail => ' rs@xxxxxx ', Web => ' http://474.at ' }
.
- Follow-Ups:
- Re: sort an array unique.
- From: Paul Lalli
- Re: sort an array unique.
- References:
- sort an array unique.
- From: rajendra
- Re: sort an array unique.
- From: Paul Lalli
- sort an array unique.
- Prev by Date: Re: Regular Expression help!
- Next by Date: Re: Regular Expression help!
- Previous by thread: Re: sort an array unique.
- Next by thread: Re: sort an array unique.
- Index(es):
Relevant Pages
|
|