Mastering Perl - Brian D. Foy

Mastering Perl

(Autor)

Buch | Softcover
304 Seiten
2007
O'Reilly Media (Verlag)
978-0-596-52724-2 (ISBN)
34,75 inkl. MwSt
zur Neuauflage
  • Titel ist leider vergriffen;
    keine Neuauflage
  • Artikel merken
Zu diesem Artikel existiert eine Nachauflage
Assuming you're familiar with concepts such as basic syntax, nested data structures, and the use of modules, this work provides the next logical stage of Perl expertise by conveying its models and programming idioms. It shows you how to integrate the real-life problems of debugging, maintenance, configuration tasks you encounter as a programmer.
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. Assuming you're familiar with concepts from the first two books - such as basic syntax, nested data structures, and the use of modules - "Mastering Perl" provides the next logical stage of Perl expertise by conveying its 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; debug Perl with the Perl debugger, write your own debugger, and use debuggers others wrote; profile Perl to find out where you should concentrate your efforts before setting out to improve your program; benchmark Perl to figure out which implementations do better on time, memory, and other metrics - and cautions about what your numbers actually mean; wrangle Perl code to make it more presentable and readable by using M or M; symbol tables and typeglobs - How Perl keeps track of package variables and how you can use that mechanism for some powerful Perl tricks; define subroutines on the fly and turn the tables on normal procedural programming; and iterate through subroutine lists rather than data to make your code more effective and easy to maintain.
It also includes topics such as: modify and jury rig modules to fix code without editing the original source; let your users configure your programs without touching the code; detect and reporting errors by learning how Perl reports errors, how you can detect errors Perl doesn't report, and how to tell your 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 as text over a network; work with Pod to translate plain ol' documentation into any format that you like, and test it, too; use bit operations and bit vectors to efficiently store large data; implement your own versions of Perl's basic data types to perform fancy operations without getting in the user's way; and write programs as modules to get all of the benefit of Perl's module distribution, installation, and testing tools. The appendices include "Brian's Guide to Solving Any Perl Problem" to improve your troubleshooting skills, as well as suggested reading to continue your Perl education.
"Mastering Perl" starts you on your path to becoming the person with the answers, and, failing that, the person who knows how to find the answers or discover the problem.

brian d foy has been an instructor for Stonehenge Consulting Services since 1998, a Perl user since he was a physics graduate student, and a die-hard Mac user since he first owned a computer. He founded the first Perl user group, the New York Perl Mongers, as well as the Perl advocacy nonprofit Perl Mongers, Inc., which helped form more than 200 Perl user groups across the globe. He maintains the perlfaq portions of the core Perl documentation, several modules on CPAN, and some stand-alone scripts. He's the publisher of The Perl Review, a magazine devoted to Perl, and is a frequent speaker at conferences including the Perl Conference, Perl University, MarcusEvans BioInformatics '02, and YAPC. His writings on Perl appear in The O'Reilly Network, The Perl Journal, Dr. Dobbs, and The Perl Review, on use.perl.org, and in several Perl usenet groups.

Erscheint lt. Verlag 21.8.2007
Zusatzinfo Illustrations
Verlagsort Sebastopol
Sprache englisch
Maße 178 x 232 mm
Themenwelt Informatik Programmiersprachen / -werkzeuge Perl
Mathematik / Informatik Informatik Web / Internet
ISBN-10 0-596-52724-1 / 0596527241
ISBN-13 978-0-596-52724-2 / 9780596527242
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Keeping the Easy, Hard, and Impossible Within Reach

von Brian D. Foy

Buch | Softcover (2018)
O'Reilly Media (Verlag)
53,85