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
精彩片段:
One of the problems we face at Stonehenge as professional trainers is to make sure that we write materials that are reusable in more than one presentation. The development expense of a given set of lecture notes requires us to consider that we’ll need roughly two to four hundred people who are all starting in roughly the same place, and who want to end up in the same place, and who we can find in a billable situation. With our flagship product, the Learning Perl course, the selection of topics was easy: pick all the things that nearly everyone will need to know to write single-file scripts across the broad range of applications suited for Perl, and that we can teach in the first week of classroom exposure. Fresh after having updated our Learning Perl and Intermediate Perl books, brian d foy realized that there was still more to say about Perl just beyond the reach of these two tutorials, although not necessarily an “all things for all people” approach. In Mastering Perl, brian has captured a number of interesting topics and written them down with lots of examples, all in fairly independently organized chapters. You may not find everything relevant to your particular coding, but this book can be picked up and set back down again as you find time and motivation—a luxury that we can’t afford in a classroom. While you won’t have the benefit of our careful in-person elaborations and interactions, brian does a great job of making the topics approachable and complete. And oddly enough, even though I’ve been programming Perl for almost two decades, I learned a thing or two going through this book, so brian has really done his homework. I hope you find the book as enjoyable to read as I have.