in reply to Comparing three Hashes

If you split the problem into its parts it gets easier: Create a subroutine that compares two hashes. Then call the subroutine with all three combinations of hashes.

To create the subroutine that compares two hashes, just use a loop that steps through the keys of one hash and checks if they are in the second hash. Hint: The function keys() will give you a list of all keys of a hash

If you have problems, post your script here and we help you debug it