Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

Re: Re: Re: Re: Union of hashes

by Masem (Monsignor)
on Feb 07, 2002 at 14:37 UTC ( #143882=note: print w/ replies, xml ) Need Help??

in reply to Re: Re: Re: Union of hashes
in thread Union of hashes

I should point out that while it's simple to redefine the behavior to have values of %a overwrite %b, or vice verse, you can get more customizable behavior using *cough*my module*cough* Hash::Merge. One included way with this module would have values of equivalent keys to be placed in an anon array, but the module allows for specific settings.

Dr. Michael K. Neylon - || "You've left the lens cap of your mind on again, Pinky" - The Brain
"I can see my house from here!"
It's not what you know, but knowing how to find it if you don't know that's important

Comment on Re: Re: Re: Re: Union of hashes

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (11)
As of 2016-05-30 18:45 GMT
Find Nodes?
    Voting Booth?