in reply to Re: Comparing two hashes
in thread Comparing two hashes

Actually, this only tells you which 'values' exist in both hashes, not whether the key/value pairs are the same, let alone whether the two hashes are the same.

How to check similarity of two hash tables
How do I test the deep equality of two hash tables?
How to test equality of hashes?

Replies are listed 'Best First'.
Re^3: Comparing two hashes
by dwm042 (Priest) on Apr 02, 2010 at 18:06 UTC
    Actually, that's what I intended to do, ruzam. And that's what I said I was going to do. One example, of one possible interpretation of the OP's question, was all I wanted to provide.
      My bad, sorry. You're absolutely right and I should have read your response more carefully. I'm afraid I got caught up in the code example without paying attention to the lead in.