Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 drinking their drinks and smoking their pipes about the Monastery: (17)
As of 2014-10-24 14:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (132 votes), past polls