Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Perl sorting unique values

by Corion (Patriarch)
on Jun 22, 2011 at 08:39 UTC ( [id://910869]=note: print w/replies, xml ) Need Help??


in reply to Perl sorting unique values

There is the perldoc tool installed with your Perl, and also the perlfaq online. Searching for your keywords yields good explanations of how to do things:

> perldoc -q unique

How can I get the unique keys from two hashes?
How can I remove duplicate elements from a list or array?

> perldoc -q sort

How do I sort an array by (anything)?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2025-06-18 20:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.