Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: how to merge hash deeply ?

by Athanasius (Chancellor)
on Jan 29, 2013 at 04:10 UTC ( #1015796=note: print w/replies, xml ) Need Help??

in reply to how to merge hash deeply ?

This is covered by How do I merge two hashes? in perlfaq4.

Hope that helps,

Update: Thanks to davido for pointing out that the FAQ cited doesn’t cover deep copying. Use the Hash::Merge solution by Kenosis for this.

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2016-10-27 03:13 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (352 votes). Check out past polls.