Perl by Example, 5th Edition
- Length: 888 pages
- Edition: 5
- Language: English
- Publisher: Prentice Hall
- Publication Date: 2014-12-27
- ISBN-10: 0133760812
- ISBN-13: 9780133760811
- Sales Rank: #832597 (See Top 100 Books)
The World’s Easiest Perl 5 Tutorial—Updated for Today’s Applications and “Modern Perl” Best Practices
“When I look at my bookshelf, I see eleven books on Perl programming. Perl by Example, Third Edition, isn’t on the shelf; it sits on my desk, where I use it almost daily. I still think it is the best Perl book on the market for anyone—beginner or seasoned programmer—who uses Perl daily.”
—Bill Maples, Enterprise Network Support, Fidelity National Information Services
Perl by Example, Fifth Edition, is the proven, easy way to master Perl 5 programming. Legendary Silicon Valley programming instructor Ellie Quigley has fully updated and focused her classic text on today’s key Perl applications, especially automation, testing, data extraction, and legacy code maintenance. She has also revised this edition to reflect “modern Perl” practices that have emerged since Perl 5.10.
Quigley illuminates every technique with focused, classroom-tested code examples. For each example, she shows you code, input, and output, and provides detailed, line-by-line explanations of how the code generates that output. And her coverage is comprehensive, from basic syntax to regular expression handling, files, references, objects, working with databases, and much more…plus appendices that contain a complete list of functions and definitions, command-line switches, special variables, and popular modules.
New in This Edition
- Modern Perl approaches to using data types, operators, conditions, subroutines, packages, modules, references, pointers, files, objects, and more
- Many new examples, covering automation, testing, and data extraction
- A tutorial on writing object-oriented Perl with the Moose object system
- An introduction to Dancer, a powerful web application framework designed to replace CGI
- Updated code examples throughout
More than 50,000 sysadmins, power users, and developers have used this book’s previous editions to become expert Perl programmers, and you can, too–even if you’re completely new to Perl. Then, once you’re an expert, you’ll routinely return to this practical guide as the best source for reliable answers, solutions, and code. A more focused, quicker read than ever, this clear and practical guide will take you from your first Perl script to advanced applications. It’s the only Perl text you’ll need.
Ellie Quigley has taught scripting in Silicon Valley for more than twenty-five years. Her Perl and shell programming classes at the University of California, Santa Cruz Extension are part of Silicon Valley lore. Her other best-selling Prentice Hall books include UNIX® Shells by Example, Fourth Edition; PHP and MySQL by Example (with Marko Gargenta); and JavaScript by Example. A major player in developing UCSC’s Silicon Valley Extension program, she has created and customized courses for pioneering firms, including Xilinx, NetApp, Yahoo, and Juniper.
Table of Contents
Chapter 1 The Practical Extraction and Report Language
Chapter 2 Perl Quick Start
Chapter 3 Perl Scripts
Chapter 4 Getting a Handle on Printing
Chapter 5 What’s In a Name?
Chapter 6 Where’s the Operator?
Chapter 7 If Only, Unconditionally, Forever
Chapter 8 Regular Expressions—Pattern Matching
Chapter 9 Getting Control—Regular Expression Metacharacters
Chapter 10 Getting a Handle on Files
Chapter 11 How Do Subroutines Function?
Chapter 12 Does This Job Require a Reference?
Chapter 13 Modularize It, Package It, and Send It to the Library!
Chapter 14 Bless Those Things! (Object-Oriented Perl)
Chapter 15 Perl Connects with MySQL
Chapter 16 Interfacing with the System
Appendix A Perl Built-ins, Pragmas, Modules, and the Debugger
Appendix B SQL Language Tutorial
Appendix C Introduction to Moose (A Postmodern Object System for Perl 5)
Appendix D Perlbrew, CPAN, and cpanm
Appendix E Dancing with Perl