Debugging a Perl Program

Debugging a Perl Program It’s possible to start the debugger with a piece of Perl code as an argument by including the C<-e> switch on the command line. To debug a particular program instead, we substitute the program name to be debugged, along with any required arguments. So let’s do this with our current program (charcount) and dive into … Read more

Look before you leap!

Take almost any software application problem, whether using the Perl programming language, or any other, and you’ll want to fix it, probably quickly. The temptation will usually be to think your way around the problem, second-guessing what the issue might be, and trying a couple of quick-fixes, in the hope that the problem will go … Read more