Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: Combining / Merging two Ho(H|A)s

by jkva (Chaplain)
on Feb 22, 2006 at 05:41 UTC ( #531879=note: print w/ replies, xml ) Need Help??


in reply to Re: Combining / Merging two Ho(H|A)s
in thread Combining / Merging two Ho(H|A)s

Very very good point. It is possible. I'd say the first hash's value should be overwritten by the second one.
GrandFather's code can be easily changed to check for REF differences and act accordingly.


Comment on Re^2: Combining / Merging two Ho(H|A)s
Re^3: Combining / Merging two Ho(H|A)s
by jdporter (Canon) on Feb 22, 2006 at 13:54 UTC

    Right; but I would definitely look into Hash::Merge (Roy_Johnson's suggestion).

    We're building the house of the future together.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (13)
As of 2014-04-18 14:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (469 votes), past polls