in reply to Inheritance in Hash

Hash::Merge may do what you need.