http://qs321.pair.com?node_id=160910


in reply to Re: Need a test for deep equality
in thread Need a test for deep equality

I have to wonder if you could canoncalize the hashes. A simple "alphabetize the keys at each level" comes to mind. This could be expensive for large/deep hashes, but, it may be worth it to you.