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

Re^2: how to loop through hash tables more efficiently

by Anonymous Monk
on Sep 17, 2012 at 21:20 UTC ( #994111=note: print w/ replies, xml ) Need Help??


in reply to Re: how to loop through hash tables more efficiently
in thread updated_again: how to loop through hash tables more efficiently

So you don't need the second loop... You can use the exists function

he is already using exists, your code doesn't map well to his example , his faux hash of arrays


Comment on Re^2: how to loop through hash tables more efficiently
Re^3: how to loop through hash tables more efficiently
by roboticus (Canon) on Sep 18, 2012 at 15:32 UTC

    Oh, yes, I seem to have glossed over that. When I read it, I thought he was comparing keys with keys, rather than keys and values.

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2014-08-30 21:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls