in reply to Comparing hashes

OK, my response to my own question. After a little more thought I realized that you cannot directly compare two hashes without looping through the keys and checking. This is due to the fact that the two hashes will never have the same layout (just the way hashes work).

There are some methods using Storable, but they are just as unreliable depending on what type of data you are holding in the hash (floating point problems, etc). The best and most reliable method I can think of is to iterate over the %confighash and check the corresponding values of each key with the regex held in the %confighash under the same key name.

If someone knows a better, shorter more efficient way please let me know.

Thanks again for everyone's time.