|
On Order$39.99
New Trade Paper
Currently out of stock.
Perl Medic: Transforming Legacy Codeby Peter J. Scott
Synopses & ReviewsPublisher Comments: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:
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. Book News Annotation:Intended for recent computer graduates who will be fixing Perl code
written by other programmers, this book offers advice on rewriting
parts of a program or restructuring the entire code. The author
describes test modules, the strict and warnings pragmas, examples of
cargo cult code, the comprehensive Perl archive network, and the
features that characterize each version of Perl.
Annotation ©2004 Book News, Inc., Portland, OR (booknews.com) Synopsis: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". Synopsis:
Bring new power, performance, and scalability to your existing Perl code! 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:
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.On the Web Site Download all of the book's sample code from <www.perlmedic.com>. About the AuthorPETER J. SCOTT runs Pacific Systems Design Technologies, providing Perl training, application development, and enterprise systems analysis. He was a speaker on the 2002 Perl Whirl cruise and at YAPC::Canada, and he founded his local Perl Monger group. A software developer since 1981 and a Perl developer since 1992, he has also created programs for NASA's Jet Propulsion Laboratory. Scott graduated from Cambridge University, England, with a Master's of Arts Degree in Computer Science and now lives in the Pacific Northwest with his wife Grace, a cat, and a parrot, at least one of which also uses Perl. He is the lead author of Perl Debugged. Table of ContentsPreface.
Perl or perl? Obtaining Perl. Historical Perl. Who This Book Is For. Typographical Conventions. For Further Reference. Perl Versions. Perl 6. Acknowledgments.
1. Introduction (First Response).
First Things First. Reasons for Inheritance. What Next? Observe the Program in Its Natural Habitat. Get Personal. Strictness. Warnings.
2. Surveying the Scene.
Versions. Part or Whole? Find the Dependencies.
3. Test Now, Test Forever (Diagnosis).
Testing Your Patience. Extreme Testing. An Example Using Test: Modules. Testing Legacy Code. A Final Encouragement.
4. Rewriting (Transplants).
Strategizing. Why Are You Doing This? Style. Comments. Restyling. Variable Renaming. Editing. Line Editing. Antipatterns. Evolution.
5. The Disciplined Perl Program.
Package Variables vs Lexical Variables. Warnings and Strictness. use strict in Detail. use warnings in Detail. Selective Disabling. Caveat Programmer. Perl Poetry.
6. Restructuring (The Operating Table).
Keep It Brief. Cargo Cult Perl. Escaping the Global Variable Trap. Debugging Strategies.
7. Upgrading (Plastic Surgery).
Strategies. Perl 4. Perl 5.000. Perl 5.001. Perl 5.002. Perl 5.003. Perl 5.004. Perl 5.005. Perl 5.6.0. Perl 5.6.1. Perl 5.8.0. Perl 5.8.1. Perl 5.8.2. Perl 5.8.3.
8. Using Modules (Genetic Enhancement).
The Case for CPAN. Using CPAN. Improving Code with Modules. Custom Perls.
9. Analysis (Forensic Pathology).
Static Analysis. Eliminating Superfluous Code. Finding Inefficient Code. Debugging.
10. Increasing Maintainability (Prophylaxis).
Making It Robust. Advanced Brevity. Documentation. Custom Warnings. Version Control System Integration.
11. A Case Study.
The Setup. Triage. Desperately Seeking Sanity. Coming into the 21st Century. Incorporating Modules Effectively, Part 1. Incorporating Modules Effectively, Part 2. Making It Mature, Part 1. Making It Mature, Part 2. Making It Mature, Part 3. Advanced Modification.
12. Conclusion (Prognosis).
In Conclusion. Perl People. A Final Thought.
Appendix: Source Code.
Tie::Array::Bounded. Benchmark::TimeTick. smallprofpp.
Bibliography.
Index.
About the Author. What Our Readers Are SayingBe the first to add a comment for a chance to win!Product Details
Other books you might like
|
|||||||||
|
|
||||||||||
|
|
||||||||||