Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Extracting unique elements from array

by moritz (Cardinal)
on Sep 28, 2011 at 19:31 UTC ( [id://928403]=note: print w/replies, xml ) Need Help??


in reply to Re: Extracting unique elements from array
in thread Extracting unique elements from array

And once @list is properly initialized,

use List::MoreUtils qw/uniq/; my @uniq = uniq @list;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://928403]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-25 10:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found