Description
The most vexing aspect a student will face while programming in Perl is debugging. The goal of Perl Debugged is to provide a way for the student to minimize debugging time, as well as minimizing the development and maintenance time needed for Perl programs. Geared towards students with some knowledge of Perl, this book guides students 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. The engaging writing style will bring energy to the class!
Table Of Contents
Preface.Perlness.
Who Are You?
What This Book Covers.
Getting Perl.
Typographical Conventions.
For Further Reference.
Perl Versions.
Acknowledgments.
1. Introduction.
2. The Zen of Perl Developing.
3. Antibugging.
4. Perl Pitfalls, Syntactical Sugaring.
5. Tracing Code.
6. Testing Perl Programs.
7. The Perl Debugger.
8. Syntax Errors.
9. Run-Time Exceptions.
10. Semantical Errors.
11. Resource Failure.
12. Perl as a Second Language.
13. Debugging CGI Programs.
Appendix A: Perl Debugger Commands.
Appendix B: Perls of Wisdom.
Index.