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, |
In reply to Re: how to merge hash deeply ?
by Athanasius
in thread how to merge hash deeply ?
by chinaxing
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |