Problems? Is your data what you think it is? | |
PerlMonks |
Combining / Merging two Ho(H|A)sby jkva (Chaplain) |
on Feb 21, 2006 at 20:57 UTC ( [id://531794]=perlquestion: print w/replies, xml ) | Need Help?? |
jkva has asked for the wisdom of the Perl Monks concerning the following question: Esteemed Monks. Let's say I have two hashes :
I'd like to "add" %hash2 to %hash1, and existing data should be overwritten while nonexistent data should be added. What would be the best approach to this? -- jkva
Back to
Seekers of Perl Wisdom
|
|