Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: comparing nested data structures

by JavaFan (Canon)
on Nov 02, 2011 at 10:17 UTC ( #935338=note: print w/replies, xml ) Need Help??


in reply to comparing nested data structures

If the nested data structures contain hashes, you'll have to sort the keys - which makes me think there no "fast trick" in the general case.

I usually go for Test::More::is_deeply. But I don't know whether that's fast enough for you.

Replies are listed 'Best First'.
Re^2: comparing nested data structures
by LanX (Bishop) on Nov 02, 2011 at 13:17 UTC
    Great!

    It might be implemented in perl, but it's a core module which will give me a quick start!

    Thx! :)

    Cheers Rolf

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://935338]
help
Chatterbox?
[LanX]: smoking in movies
[holli]: meh. fricking puritans.

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (16)
As of 2017-12-13 20:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (378 votes). Check out past polls.

    Notices?