Yes, it worked just fine. Thank you, biohisham! Could you also please guide me for the merge operation?
What I have in mind is the following:
1. Start iterating over the keys of hash1
2. Check if any of these keys match with the keys of hash2
3. if matched, push values %hash2 into values%hash1
Is this the right way to do it?