in reply to Hash merging!

You can use a hash slice to merge the hashes without the need for a reference.

@a{keys %b} = values %b;