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

Re: Find unique elements in an array

by jdporter (Canon)
on Apr 04, 2004 at 17:45 UTC ( #342493=note: print w/replies, xml ) Need Help??


in reply to Find unique elements in an array

-- to you... Not so much for giving an inferior solution (which you did), but because you obviously didn't do the least bit of research to see if this has already been covered. If you had, you probably would have discovered that it is answered in the Perl FAQ: How can I extract just the unique elements of an array?. You might also have found this entry in the Q&A section: How can I display a unique array if it contains some repeated elements.

jdporter
The 6th Rule of Perl Club is -- There is no Rule #6.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2020-02-25 19:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (113 votes). Check out past polls.

    Notices?