Документация
HTML CSS PHP PERL другое

Table of Contents

 
Perl Medic: Transforming Legacy Code
By Peter J. Scott
 
Pub Date: March 10, 2004
Pages: 336
Slots: 1.0   


   Preface
      Perl or perl?
      Obtaining Perl
      Historical Perl
      Who This Book Is For
      Typographical Conventions
      For Further Reference
      Perl Versions
      Perl 6
      Acknowledgments
      Chapter 1.  Introduction (First Response)
      Section 1.1.  First Things First
      Section 1.2.  Reasons for Inheritance
      Section 1.3.  What Next?
      Section 1.4.  Observe the Program in Its Natural Habitat
      Section 1.5.  Get Personal
      Section 1.6.  Strictness
      Section 1.7.  Warnings
      Chapter 2.  Surveying the Scene
      Section 2.1.  Versions
      Section 2.2.  Part or Whole?
      Section 2.3.  Find the Dependencies
      Chapter 3.  Test Now, Test Forever (Diagnosis)
      Section 3.1.  Testing Your Patience
      Section 3.2.  Extreme Testing
      Section 3.3.  An Example Using Test:: Modules
      Section 3.4.  Testing Legacy Code
      Section 3.5.  A Final Encouragement
      Chapter 4.  Rewriting (Transplants)
      Section 4.1.  Strategizing
      Section 4.2.  Why Are You Doing This?
      Section 4.3.  Style
      Section 4.4.  Comments
      Section 4.5.  Restyling
      Section 4.6.  Variable Renaming
      Section 4.7.  Editing
      Section 4.8.  Line Editing
      Section 4.9.  Antipatterns
      Section 4.10.  Evolution
      Chapter 5.  The Disciplined Perl Program
      Section 5.1.  Package Variables vs. Lexical Variables
      Section 5.2.  Warnings and Strictness
      Section 5.3.  use strict in Detail
      Section 5.4.  use warnings in Detail
      Section 5.5.  Selective Disabling
      Section 5.6.  Caveat Programmer
      Section 5.7.  Perl Poetry
      Chapter 6.  Restructuring (The Operating Table)
      Section 6.1.  Keep It Brief
      Section 6.2.  Cargo Cult Perl
      Section 6.3.  Escaping the Global Variable Trap
      Section 6.4.  Debugging Strategies
      Chapter 7.  Upgrading (Plastic Surgery)
      Section 7.1.  Strategies
      Section 7.2.  Perl 4
      Section 7.3.  Perl 5.000
      Section 7.4.  Perl 5.001
      Section 7.5.  Perl 5.002
      Section 7.6.  Perl 5.003
      Section 7.7.  Perl 5.004
      Section 7.8.  Perl 5.005
      Section 7.9.  Perl 5.6.0
      Section 7.10.  Perl 5.6.1
      Section 7.11.  Perl 5.8.0
      Section 7.12.  Perl 5.8.1
      Section 7.13.  Perl 5.8.2
      Section 7.14.  Perl 5.8.3
      Chapter 8.  Using Modules (Genetic Enhancement)
      Section 8.1.  The Case for CPAN
      Section 8.2.  Using CPAN
      Section 8.3.  Improving Code with Modules
      Section 8.4.  Custom Perls
      Chapter 9.  Analysis (Forensic Pathology)
      Section 9.1.  Static Analysis
      Section 9.2.  Eliminating Superfluous Code
      Section 9.3.  Finding Inefficient Code
      Section 9.4.  Debugging
      Chapter 10.  Increasing Maintainability (Prophylaxis)
      Section 10.1.  Making It Robust
      Section 10.2.  Advanced Brevity
      Section 10.3.  Documentation
      Section 10.4.  Custom Warnings
      Section 10.5.  Version Control System Integration
      Chapter 11.  A Case Study
      Section 11.1.  The Setup
      Section 11.2.  Triage
      Section 11.3.  Desperately Seeking Sanity
      Section 11.4.  Coming into the 21st Century
      Section 11.5.  Incorporating Modules Effectively, Part 1
      Section 11.6.  Incorporating Modules Effectively, Part 2
      Section 11.7.  Making It Mature, Part 1
      Section 11.8.  Making It Mature, Part 2
      Section 11.9.  Making It Mature, Part 3
      Section 11.10.  Advanced Modification
      Chapter 12.  Conclusion (Prognosis)
      Section 12.1.  In Conclusion
      Section 12.2.  Perl People
      Section 12.3.  A Final Thought
      Source Code
      Tie::Array::Bounded
      Benchmark::TimeTick
      smallprofpp
      Bibliography
      About the Author
   Index
© 2000- NIV