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

Re: What is the best way to get just the duplicates from an array?

by injunjoel (Priest)
on Jul 27, 2007 at 16:44 UTC ( #629150=note: print w/ replies, xml ) Need Help??


in reply to What is the best way to get just the duplicates from an array?

Another shameless plug? possibly... but apropos.
Great suggestions thus far, so in the spirit of TIMTOWTDI I would suggest having a look at
The Uniqueness of hashes.
It's a collection of some techniques for just this sort of operation.

-InjunJoel
"I do not feel obliged to believe that the same God who endowed us with sense, reason and intellect has intended us to forego their use." -Galileo
  • Comment on Re: What is the best way to get just the duplicates from an array?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2016-07-28 19:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (256 votes). Check out past polls.