Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: how do I efficiently remove one hash from another?

by rjt (Deacon)
on Nov 27, 2012 at 09:28 UTC ( #1005822=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    for (keys %hash1) {
        next if exists $hash2{$_};
        # ... your main loop code here
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (10)
As of 2016-06-30 13:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (396 votes). Check out past polls.