Required: I need to compare the keys of these two hashes and if this is equal, I need to compare its value. For eg, If '1' in %required exists in %actual, then the value of '1' in required '3.11' should be compared with '3.11' in %actual. If, '1' doesnt exists, I need to take the next key '4' in %required and look out for '4' in %actual and proceed with its value comparison.

I also require the keys that are not present in the %actual and the values that did not match. Pls shower your thoughts.