I'm sure that using the debugger from the command line can be a pain, but if you use an IDE (OptiPerl in my case, but Komodo has it too), then why spend the effort typing prints when you can step through the code, inspect variables in real time, set breakpoints - in other words save the the time keying in statements that you'll want to remove later.
Having said that, I make extensive use of Log::Log4perl because I can leave in the debug statements but turn off the generation of log messages when I want to.
In reply to Re: I never use the debugger.
by astroboy
in thread I never use the debugger.
by friedo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |