Perl Debugged (Paperback)

Peter J. Scott, Ed Wright

  • 出版商: Addison Wesley
  • 出版日期: 2001-03-26
  • 定價: $1,250
  • 售價: 8.0$1,000
  • 語言: 英文
  • 頁數: 288
  • ISBN: 0201700549
  • ISBN-13: 9780201700541
  • 相關分類: Perl 程式語言
  • 立即出貨(限量) (庫存=3)




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!

Back to Top

Table Of Contents

Who Are You?
What This Book Covers.
Getting Perl.
Typographical Conventions.
For Further Reference.
Perl Versions.
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.

Back to Top


《Perl Debugged》描述了學生在使用Perl進行編程時最困擾的問題:調試。該書的目標是為學生提供一種減少調試時間、減少Perl程序開發和維護時間的方法。該書針對具有一定Perl知識的學生,引導他們完成整個編程過程,解決Perl編程的好處、困境和陷阱。從對Perl文檔的引導介紹開始,書籍進一步探討了調試、測試和性能問題,並專門介紹了Perl中的CGI編程。在整本書中,作者們提倡改進Perl代碼的準確性和性能的可辯護範式。此外,《Perl Debugged》還包括Scott和Wright的“智慧珠”(Perls of Wisdom),總結了每章的關鍵思想,以及附錄中包含的Perl調試器命令的詳細列表。這本書以引人入勝的寫作風格為課堂注入了活力!