Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: comparing nested data structures

by keszler (Priest)
on Nov 02, 2011 at 10:15 UTC ( #935336=note: print w/replies, xml ) Need Help??


in reply to comparing nested data structures

Let someone else write the recursive comparison? Hash::Diff

Replies are listed 'Best First'.
Re^2: comparing nested data structures
by DrHyde (Prior) on Nov 02, 2011 at 10:18 UTC
    Or if you want to compare arrays as well (and hashes of arrays, and arrays of hashes) then Data::Compare. It won't tell you what the differences are though.
Re^2: comparing nested data structures
by LanX (Chancellor) on Nov 02, 2011 at 10:19 UTC
    Thx but

    Plans for a future version include incorporate deep recursion protection. And support for ARRAY.

    Cheers Rolf

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://935336]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2016-12-06 01:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (96 votes). Check out past polls.