in reply to Re^2: How edit source code in perl debug mode
in thread How edit source code in perl debug mode

> many monks choose print for debug, after all,-d is a part of standard perl

I think I'm one of the main debugger experts here, and I hardly ever use it for debugging.

My own code is better debugged with tests and conditional warns.

Mainly because it's easily reproduced while interactive debugger sessions aren't. I prefer sustainable investments.

Occasionally I use debug or trace if I need to take over complex foreign code.

But mostly because of bad design, testing or documentation.

Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery

  • Comment on Re^3: How edit source code in perl debug mode