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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2016-04-30 20:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.