Book description
"This book was a joy to read. It covered all sorts of techniques for debugging, including 'defensive' paradigms that will eliminate bugs in the first place. As coach of the USA Programming Team, I find the most difficult thing to teach is debugging. This is the first text I've even heard of that attacks the problem. It does a fine job. Please encourage these guys to write more."–Rob Kolstad
Perl Debugged provides the expertise and solutions developers require for coding better, faster, and more reliably in Perl. Focusing on debugging, the most vexing aspect of programming in Perl, this example-rich reference and how-to guide minimizes development, troubleshooting, and maintenance time resulting in the creation of elegant and error-free Perl code.
Designed for the novice to intermediate software developer, Perl Debugged will save the programmer time and frustration in debugging Perl programs. Based on the authors’ extensive experience with the language, this book guides developers through the entire programming process, tackling the benefits, plights, and pitfalls of Perl programming. Beginning with a guided tour of the Perl documentation, the book progresses to debugging, testing, and performance issues, and also devotes a chapter to CGI programming in Perl. Throughout the book, the authors espouse defensible paradigms for improving the accuracy and performance of Perl code. In addition, Perl Debugged includes Scott and Wright’s "Perls of Wisdom" which summarize key ideas from each of the chapters, and an appendix containing a comprehensive listing of Perl debugger commands.
In this exceptional reference and debugging guide, the authors cover every aspect of efficient Perl programming, including:
CGI programming–special tips for debugging this type of Perl program
How to develop the proper mindset for developing and programming effectively in Perl
Perl "gotchas"–how to understand them, work around them, and avoid them
"Antibugging"–the authors’ rules of thumb on how to code defensively
The Perl debugger –the authors’ guide to using this Perl built-in
Common syntax errors and how to track down their causes
Semantical errors–why code may appear correct but the programs do not work
How to improve the performance of resource-hungry programs
Tips and advice for programmers moving to Perl from other language environments
Focusing on the process of Perl programming and guidelines for identifying and correcting mistakes, Perl Debugged helps the developer to write better Perl programs immediately and become better programmers in general.
0201700549B04062001
Table of contents
- Copyright
- Preface
- Introduction
- The Zen of Perl Developing
- Antibugging
- Perl Pitfalls
- Tracing Code
- Testing Perl Programs
- The Perl Debugger
- Syntax Errors
- Run-time Exceptions
- Semantical Errors
- Resource Failure
- Perl as a Second Language
- Debugging CGI Programs
- Conclusion
- Perl Debugger Commands
- Perls of Wisdom
Product information
- Title: Perl Debugged
- Author(s):
- Release date: March 2001
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780201700541
You might also like
book
Higher-Order Perl
Most Perl programmers were originally trained as C and Unix programmers, so the Perl programs that …
book
Perl Debugger Pocket Reference
Most Perl programmers know about the Perl debugger--the nifty little built-in utility that you can use …
book
Perl Testing: A Developer's Notebook
Is there any sexier topic in software development than software testing? That is, besides game programming, …
book
Pro Perl
Over the years, Perl has grown from an elegant scripting tool into a mature and full-featured …