in reply to Merging hashes (clobber duplicate keys)
I would generally tackle this as:%somehash = (%somehash, %override);
I have seen suggestions that it should be possible to just:$somehash{$_} = $override{$_} foreach keys %override;
but that isn't legal yet (if ever).push %somehash, %override;
|
|---|