P is for Practical | |
PerlMonks |
Re: Need a test for deep equalityby simonm (Vicar) |
on Apr 23, 2002 at 05:00 UTC ( [id://161211]=note: print w/replies, xml ) | Need Help?? |
Yes, I've got a module on CPAN that does this -- see the ref_compare function in Class::MakeMethods::Utility::Ref, based on some old code by David Muir Sharnoff. It should handle scalar values, plain hashes or arrays, or arbitrary nested data structures.
-Simon
In Section
Seekers of Perl Wisdom
|
|