Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: Clawing my way out of operator overloading hell

by fergal (Chaplain)
on Aug 01, 2003 at 12:21 UTC ( #280031=note: print w/replies, xml ) Need Help??


in reply to Re: Clawing my way out of operator overloading hell
in thread Clawing my way out of operator overloading hell

Further to your interesting but irrelevant remarks, if you want to compare 2 deep data structures, you can use Test::More's is_deeply() or Test::Deep's cmp_deeply(). is_deeply currently has a few bugs, it can't handle circular structures (fixes are in the pipeline). cmp_deeply has no bugs (cough!) and can do all sorts of weird and wonderful things (hence the need for a new module).

Both of these modules will give you nice diagnostics about where the structures differ.

  • Comment on Re: Re: Clawing my way out of operator overloading hell

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://280031]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2019-10-14 16:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?