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