in reply to Does Data::Dumper give you eye strain? Use Test::More::is_deeply() for debugging!

Well then, how about using Test::More::is_deeply() sometimes, instead?

It's often useful, but you do have to bear in mind that it only looks at the basic structure of the objects, and ignores many things, e.g.:

is_deeply( {}, bless({}, 'Foo'), 'is_deeply ignores blessed' );

will pass. Test::Deep is a useful module if you're interested in some of the detail.

  • Comment on Re: Does Data::Dumper give you eye strain? Use Test::More::is_deeply() for debugging!
  • Download Code