Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Unique elements in array

by borisz (Canon)
on May 09, 2007 at 09:35 UTC ( #614332=note: print w/replies, xml ) Need Help??


in reply to Unique elements in array

use List::MoreUtils 'uniq'; my @new = uniq ( @old );
Boris

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://614332]
help
Chatterbox?
[choroba]: I'm looking forward to stable nonexperimental signatures, but before they arrive, I'm ok with my ($self, $blah) = @_

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2017-11-24 13:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (349 votes). Check out past polls.

    Notices?