P is for Practical | |
PerlMonks |
Re: recursively comparing heterogenous data structuresby bikeNomad (Priest) |
on Jul 07, 2001 at 22:01 UTC ( [id://94749]=note: print w/replies, xml ) | Need Help?? |
Another way to compare arbitrary data structures (if you just need to see if they're different, and don't care about CODE or GLOB reference differences internally):
update:The above gets hashes right (by sorting their keys); however, it doesn't allow ignoring ordering of lists as the original code does.
In Section
Craft
|
|