Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: comparing nested data structures

by CountZero (Bishop)
on Nov 02, 2011 at 10:19 UTC ( #935340=note: print w/replies, xml ) Need Help??

in reply to comparing nested data structures

I think Test::Deep might solve your problems, or at the very least its code could give you some ideas to implement it yourself.

Deep::Hash::Utils also gives some "easier" access to deeply nested hashes and arrays, without the need to write yourself the recursive routines.


A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

Replies are listed 'Best First'.
Re^2: comparing nested data structures
by LanX (Bishop) on Nov 02, 2011 at 13:19 UTC
    Very good, thanks a lot! :)

    Cheers Rolf

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2018-04-27 04:00 GMT
Find Nodes?
    Voting Booth?