Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Idiom: hashes as sets

by TGI (Vicar)
on Jul 03, 2008 at 01:30 UTC ( #695265=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    foreach $e (@a, @b) { $count{$e}++ }
    
    ...
            push @diff, $e;
        }
    }
    
  2. or download this
    use strict;
    use warnings;
    ...
    my @symdiff = sort keys %symdiff;
    
    print "Symdiff = @symdiff\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://695265]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2015-07-05 07:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls