Syntactic Confectionery Delight | |
PerlMonks |
Re: update a hash with a hashby rjbs (Pilgrim) |
on Jul 15, 2004 at 02:33 UTC ( [id://374497]=note: print w/replies, xml ) | Need Help?? |
It's not as efficient as friedo's solution, but I generally find myself writing:
In other words, "hash1 is itself, plus all of hash2, using hash2's values where they conflict."
rjbs
In Section
Seekers of Perl Wisdom
|
|