Welcome to the Monastery | |
PerlMonks |
Re^7: Concerning hash operations (appending, concatenating)by japhy (Canon) |
on Mar 24, 2005 at 18:50 UTC ( [id://442161]=note: print w/replies, xml ) | Need Help?? |
You missed the point, Tanktalus. We're only adding NEW key-values pairs to the hash, thus the grep() is required. The node by Zaxo was showing how to have the original values override the new values if the keys matched.
In Section
Seekers of Perl Wisdom
|
|