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

Re^2: Getting the intersection of n collections.

by johngg (Abbot)
on Oct 11, 2006 at 13:58 UTC ( #577608=note: print w/ replies, xml ) Need Help??


in reply to Re: Getting the intersection of n collections.
in thread Getting the intersection of n collections.

I think you may have a typo in your solution. The grep {%hash->{$_}} should perhaps be grep {$hash{$_}}.

Nice solution, though.

Cheers,

JohnGG


Comment on Re^2: Getting the intersection of n collections.
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2015-07-04 23:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls