Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Unique Array Items

by matthewb (Curate)
on Nov 07, 2003 at 10:25 UTC ( [id://305264]=note: print w/replies, xml ) Need Help??


in reply to Unique Array Items

It might be worth pointing out Array::Unique on CPAN which, if you want an array of unique values, transparently handles it for you.

Granted, you still have to sort the array but your problem has been reduced to a ten-second job with reusable components, which is often a good thing.

MB

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2024-04-19 14:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found