go ahead... be a heretic | |
PerlMonks |
Re: Re: Need a test for deep equalityby thor (Priest) |
on Apr 21, 2002 at 18:36 UTC ( [id://160910]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|