Book description
Bring new power, performance, and scalability to your existing
Perl code!
Cure whatever ails your Perl code!
Maintain, optimize, and scale any Perl software... whether you wrote it or not
Perl software engineering best practices for enterprise environments
Includes case studies and code in a fun-to-read format
Today's Perl developers spend 60-80% of their time working with existing Perl code. Now, there's a start-to-finish guide to understanding that code, maintaining it, updating it, and refactoring it for maximum performance and reliability. Peter J. Scott, lead author of Perl Debugged, has written the first systematic guide to Perl software engineering. Through extensive examples, he shows how to bring powerful discipline, consistency, and structure to any Perl program-new or old. You'll discover how to:
Scale existing Perl code to serve larger network, Web, enterprise, or e-commerce applications
Rewrite, restructure, and upgrade any Perl program for improved performance
Bring standards and best practices to your entire library of Perl software
Organize Perl code into modules and components that are easier to reuse
Upgrade code written for earlier versions of Perl
Write and execute better tests for your software...or anyone else's
Use Perl in team-based, methodology-driven environments
Document your Perl code more effectively and efficiently
If you've ever inherited Perl code that's hard to maintain, if you write Perl code others will read, if you want to write code that'll be easier for you to maintain, the book that comes to your rescue is Perl Medic.
If you code in Perl, you need to read this book.–Adam Turoff, Technical Editor, The Perl Review.
Perl Medic is more than a book. It is a well-crafted strategy for approaching, updating, and furthering the cause of inherited Perl programs.–Allen Wyke, co-author of several computer books including JavaScript Unleashed and Pure JavaScript.
Scott's explanations of complex material are smooth and deceptively simple. He knows his subject matter and his craft-he makes it look easy. Scott remains relentless practical-even the 'Analysis' chapter is filled with code and tests to run.–Dan Livingston, author of several computer books including Advanced Flash 5: Actionscript in Action
Table of contents
- About This eBook
- Title Page
- Copyright Page
- Dedication Page
- Table of Contents
- Preface
- Chapter 1. Introduction (First Response)
- Chapter 2. Surveying the Scene
- Chapter 3. Test Now, Test Forever (Diagnosis)
- Chapter 4. Rewriting (Transplants)
- Chapter 5. The Disciplined Perl Program
- Chapter 6. Restructuring (The Operating Table)
- Chapter 7. Upgrading (Plastic Surgery)
- Chapter 8. Using Modules (Genetic Enhancement)
- Chapter 9. Analysis (Forensic Pathology)
- Chapter 10. Increasing Maintainability (Prophylaxis)
-
Chapter 11. A Case Study
- 11.1. The Setup
- 11.2. Triage
- 11.3. Desperately Seeking Sanity
- 11.4. Coming into the 21st Century
- 11.5. Incorporating Modules Effectively, Part 1
- 11.6. Incorporating Modules Effectively, Part 2
- 11.7. Making It Mature, Part 1
- 11.8. Making It Mature, Part 2
- 11.9. Making It Mature, Part 3
- 11.10. Advanced Modification
- Chapter 12. Conclusion (Prognosis)
- Appendix: Source Code
- Bibliography
- Index
- About the Author
Product information
- Title: Perl Medic: Transforming Legacy Code
- Author(s):
- Release date: March 2004
- Publisher(s): Addison-Wesley Professional
- ISBN: 0201795264
You might also like
book
Perl Debugged
"This book was a joy to read. It covered all sorts of techniques for debugging, including …
book
Perl Best Practices
Many programmers code by instinct, relying on convenient habits or a "style" they picked up early …
book
Perl by Example
The World’s Easiest Perl 5 Tutorial—Updated for Today’s Applications and “Modern Perl” Best Practices “When I …
book
Higher-Order Perl
Most Perl programmers were originally trained as C and Unix programmers, so the Perl programs that …