Debugging Perl: Troubleshooting for Programmers
Write error-free programs from development to deployment!Sidestep disaster with the tips, techniques, and expert insights contained in this one-of-a-kind resource. Debugging Perl shows you, step-by-step, how to fix buggy code and prevent errors from ever slipping into your programs. All the details you need to know are here—from avoiding syntax, logic, and variable problems as you program to troubleshooting with the Perl debugger, profiler, and compiler. Plus, you’ll get design tips, little-known traps to watch out for, and a cross-referenced appendix of error messages. When your Perl scripts must run cleanly on every system every time, turn to the real-world solutions offered in this unique handbook.Learn to:Optimize your code using the Perl debugger, profiler, and compilerTroubleshoot variable expressions, regular expressions, compile-time statements, run-time outputsStamp out bugs caused by syntactical and logical mistakesImplement subroutines, modules, and expressions to automatically detect potential problemsTrap errors using manual techniques, the Perl debuggers, and through the use of Perl’s pragma systemManage Perl memory usage and control system resourcesEvaluate your scripts using test harnesses, code breaking, and system stress calculations