Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: removing duplicates entries from an array

by l3v3l (Monk)
on Jan 06, 2006 at 17:20 UTC ( #521553=note: print w/replies, xml ) Need Help??


in reply to removing duplicates entries from an array

... and there is also the ever popular :
%seen = (); @unique = sort(grep { ! $seen{$_} ++ } @list);

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2022-05-21 22:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (78 votes). Check out past polls.

    Notices?