Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Answer: set theory w/hashes? arrays? done quickly?

by fundflow (Chaplain)
on Oct 04, 2000 at 03:02 UTC ( #35202=categorized answer: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    %s1=('a'=>1, 'b'=>1, 'c'=>1);
    %s2=('a'=>1, 'c'=>1,        'd'=>1);
    ...
    @j{keys %s2}=1;
    
    print "Union is ", join(",", keys %j), "\n";
    
  2. or download this
    %inter=%s1;
    @inter{%s2}=0;
    

Log In?
Username:
Password:

What's my password?
Create A New User
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: (3)
As of 2020-11-30 14:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?