http://www.perlmonks.org?node_id=476577


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

I use YAML's Dump() function, which doesn't eat up so much whitespace.

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

Replies are listed 'Best First'.
Re^2: Does Data::Dumper give you eye strain? Use Test::More::is_deeply() for debugging!
by Anonymous Monk on Apr 11, 2008 at 21:10 UTC

    Good idea. I do the following but the YAML would be more terse and probably easier to read after all.

    use Data::Dumper; $Data::Dumper::Terse = 1; $Data::Dumper::Indent = 1;