Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: RFC: Basic debugging checklist (Data Dumber)

by tye (Sage)
on Feb 18, 2009 at 20:27 UTC ( [id://744873]=note: print w/replies, xml ) Need Help??


in reply to RFC: Basic debugging checklist

The default settings for Data::Dumper are pretty ugly. In particular, one should turn on Useqq if one is debugging unexpected string results. Indent=1 and Sortkeys=1 are also big improvements.

- tye        

  • Comment on Re: RFC: Basic debugging checklist (Data Dumber)

Replies are listed 'Best First'.
Re^2: RFC: Basic debugging checklist (Data Dumber)
by JavaFan (Canon) on Feb 18, 2009 at 23:58 UTC
    That's why I prefer to use YAML when dumping structures for debugging. I find its output more readable (and more compact) than Data::Dumper. Or course, that just a personal preference.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-19 16:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found