Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2017-02-21 15:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (313 votes). Check out past polls.