Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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?
[Lady_Aleena]: shmem, everything about it. First why did you name it good::AUTOLOAD? Why not just good? Does AUTOLOAD do something special? Is there a doc?
[shmem]: Lady_Aleena: see perlsub for AUTOLOAD
[Discipulus]: well AUTOLOAD does auto load (if nothing is found you know what to do)
Lady_Aleena goes to read, may take a bit.

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2017-06-26 08:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (573 votes). Check out past polls.