Book description
This is the third in O'Reilly's series of landmark Perl tutorials, which started with Learning Perl, the bestselling introduction that taught you the basics of Perl syntax, and Intermediate Perl, which taught you how to create re-usable Perl software. Mastering Perl pulls everything together to show you how to bend Perl to your will. It convey's Perl's special models and programming idioms.
This book isn't a collection of clever tricks, but a way of thinking about Perl programming so you can integrate the real-life problems of debugging, maintenance, configuration, and other tasks you encounter as a working programmer.
The book explains how to:
- Use advanced regular expressions, including global matches, lookarounds, readable regexes, and regex debugging
- Avoid common programing problems with secure programming techniques
- Profile and benchmark Perl to find out where to focus your improvements
- Wrangle Perl code to make it more presentable and readable
- See how Perl keeps track of package variables and how you can use that for some powerful tricks
- Define subroutines on the fly and turn the tables on normal procedural programming.
- Modify and jury rig modules to fix code without editing the original source
- Let your users configure your programs without touching the code
- Learn how you can detect errors Perl doesn't report, and how to tell users about them
- Let your Perl program talk back to you by using Log4perl
- Store data for later use in another program, a later run of the same program, or to send them over a network
- Write programs as modules to get the benefit of Perl's distribution and testing tools
Publisher resources
Table of contents
- Mastering Perl
- A Note Regarding Supplemental Files
- Foreword
- Preface
- 1. Introduction: Becoming a Master
- 2. Advanced Regular Expressions
- 3. Secure Programming Techniques
- 4. Debugging Perl
- 5. Profiling Perl
- 6. Benchmarking Perl
- 7. Cleaning Up Perl
- 8. Symbol Tables and Typeglobs
- 9. Dynamic Subroutines
- 10. Modifying and Jury-Rigging Modules
- 11. Configuring Perl Programs
- 12. Detecting and Reporting Errors
- 13. Logging
- 14. Data Persistence
- 15. Working with Pod
- 16. Working with Bits
- 17. The Magic of Tied Variables
- 18. Modules As Programs
- A. Further Reading
- B. brian’s Guide to Solving Any Perl Problem
- Index
- About the Author
- Colophon
- Copyright
Product information
- Title: Mastering Perl
- Author(s):
- Release date: July 2007
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596527242
You might also like
book
Learning Perl, 6th Edition
If you're just getting started with Perl, this is the book you want—whether you're a programmer, …
book
Mastering Algorithms with Perl
Many programmers would love to use Perl for projects that involve heavy lifting, but miss the …
book
Beginning Perl
Everything beginners need to start programming with Perl Perl is the ever-popular, flexible, open source programming …
book
Perl in a Nutshell, 2nd Edition
This complete guide to the Perl programming language ranges widely through the Perl programmer's universe, gathering …