Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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 learning in the Monastery: (1)
As of 2024-05-23 11:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found