Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: this place should define a relation to CPAN soon

by mr.nick (Chaplain)
on Jul 16, 2001 at 08:08 UTC ( #96951=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub union {
      my %seen;
    ...
      for (@_) { $seen{$_}++ for @$_ }
      return grep $seen{$_} == @_, keys %seen;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://96951]
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: (6)
As of 2015-06-03 00:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What kind of chocolate gives you the most pleasure?















    Results (116 votes), past polls