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.
Optimize your code using the Perl debugger, profiler, and compiler
Troubleshoot variable expressions, regular expressions, compile-time statements, run-time outputs
Stamp out bugs caused by syntactical and logical mistakes
Implement subroutines, modules, and expressions to automatically detect potential problems
Trap errors using manual techniques, the Perl debuggers, and through the use of Perl’s pragma system
Manage Perl memory usage and control system resources
Evaluate your scripts using test harnesses, code breaking, and system stress calculations