1 option
Mastering Perl.
- Format:
- Book
- Author/Creator:
- Foy, Brian D.
- Language:
- English
- Subjects (All):
- Computer language.
- Perl (Computer program language).
- Local Subjects:
- Computer language.
- Perl (Computer program language).
- Physical Description:
- 1 online resource (344 p.)
- Edition:
- 1st edition
- Place of Publication:
- Sebastopol : O'Reilly Media, 2007.
- Language Note:
- English
- System Details:
- text file
- Summary:
- 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
- Contents:
- Table of Contents; Foreword; Preface; Structure of This Book; Conventions Used in This Book; Using Code Examples; Safari® Enabled; Comments and Questions; Acknowledgments; Chapter 1. Introduction: Becoming a Master; What It Means to Be a Master; Who Should Read This Book; How to Read This Book; What Should You Know Already?; What I Cover; What I Don't Cover; Chapter 2. Advanced Regular Expressions; References to Regular Expressions; (?imsx-imsx:PATTERN); References As Arguments; Noncapturing Grouping, (?:PATTERN); Readable Regexes, /x and (?#...); Global Matching; Global Match Anchors
- LookaroundsLookahead Assertions, (?=PATTERN) and (?!PATTERN); Positive lookahead assertions; Negative lookahead assertions; Lookbehind Assertions, (?<!PATTERN) and (?<=PATTERN); Deciphering Regular Expressions; Final Thoughts; Summary; Further Reading; Chapter 3. Secure Programming Techniques; Bad Data Can Ruin Your Day; Taint Checking; Warnings Instead of Fatal Errors; Automatic Taint Mode; mod_perl; Tainted Data; Side Effects of Taint Checking; Untainting Data; IO::Handle::untaint; Hash Keys; Choosing Untainted Data with Tainted Data; List Forms of system and exec; Three-Argument open
- sysopenLimit Special Privileges; Summary; Further Reading; Chapter 4. Debugging Perl; Before You Waste Too Much Time; The Best Debugger in the World; Doing Whatever I Want; Program Tracing; Safely Changing Modules; Wrapping Subroutines; perl5db.pl; Alternative Debuggers; Using a Different Debugger with -D; Devel::ptkdb; Devel::ebug; Other Debuggers; EPIC; Komodo; Affrus; Summary; Further Reading; Chapter 5. Profiling Perl; Finding the Culprit; The General Approach; Profiling DBI; Other DBI::Profile Reports; Making It Even Easier; Switching Databases; Devel::DProf; Writing My Own Profiler
- Devel::LineCounterProfiling Test Suites; Devel::Cover; Summary; Further Reading; Chapter 6. Benchmarking Perl; Benchmarking Theory; Benchmarking Time; Comparing Code; Don't Turn Off Your Thinking Cap; Memory Use; The perlbench Tool; Summary; Further Reading; Chapter 7. Cleaning Up Perl; Good Style; perltidy; De-Obfuscation; De-Encoding Hidden Source; Unparsing Code with B::Deparse; Perl::Critic; Creating My Own Perl::Critic Policy; Summary; Further Reading; Chapter 8. Symbol Tables and Typeglobs; Package and Lexical Variables; Getting the Package Version; The Symbol Table; Typeglobs; Aliasing
- Filehandle Arguments in Older CodeNaming Anonymous Subroutines; Summary; Further Reading; Chapter 9. Dynamic Subroutines; Subroutines As Data; Creating and Replacing Named Subroutines; Symbolic References; Iterating Through Subroutine Lists; Processing Pipelines; Method Lists; Subroutines As Arguments; Autoloaded Methods; Hashes As Objects; AutoSplit; Summary; Further Reading; Chapter 10. Modifying and Jury-Rigging Modules; Choosing the Right Solution; Sending Patches to the Author; Local Patches; Taking over a Module; Forking; Start Over on My Own; Replacing Module Parts; Subclassing
- An ExtUtils::MakeMaker Example
- Notes:
- Description based upon print version of record.
- Includes bibliographical references and index.
- ISBN:
- 9780596517649
- 0596517645
- OCLC:
- 183318192
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.