Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^6: Need to get the intersect of hashes

by wade (Pilgrim)
on May 15, 2008 at 16:18 UTC ( #686768=note: print w/ replies, xml ) Need Help??


in reply to Re^5: Need to get the intersect of hashes
in thread Need to get the intersect of hashes

It seems to me that it makes more sense to have every hash element contain a reference to an array instead of having an array reference in some elements and values in others. That makes your code a _lot_ easier. No checking every time you access it, no do this in some cases/do that in other cases.

--
Wade


Comment on Re^6: Need to get the intersect of hashes

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2014-11-26 10:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (166 votes), past polls