Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
"be consistent"
 
PerlMonks  

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

by chromatic (Archbishop)
on Jul 20, 2005 at 13:51 UTC ( [id://476577]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 17: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;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://476577]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.