|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re^3: Using the Perl Debugger (-d)by nferraz (Monk) |
| on Jan 26, 2007 at 12:12 UTC ( [id://596759]=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.
I love Smart::Comments! Basically, it requires you to write debug comments like this:
As you can see, they're just simple comments, until you use Smart::Comments, when they'll magically print the following output to STDERR:
The best part is that, when you disable Smart::Comments, they will sit quietly there -- just like comments they are -- documenting your code, but not being executed. Simple, useful... smart!!! :)
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||