Press Room

Press Release: July 16, 2007

Mastering Perl--New from O'Reilly: The Ultimate Resource for Creating Professional Programs with Perl

Sebastopol, CA--This is the third in O'Reilly's series of landmark Perl tutorials, which includes Learning Perl, the bestselling introduction to the basics of Perl syntax, and Intermediate Perl, the indispensable guide to creating re-usable Perl software. By conveying Perl's special models and programming idioms, Mastering Perl pulls it all together to help you bend Perl to your will.

This book isn't a collection of clever tricks, but a way of thinking about Perl programming so you can solve real-life problems of debugging, maintenance, and configuration that 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 programming problems with secure programming techniques
  • Profile and benchmark Perl so that you know 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
  • Detect errors Perl doesn't report and how to tell users about them
  • Get your Perl program talk back to you with Log4perl
  • Store data for later use in another program or a later run of the same program, and how to send data over a network
  • Write programs as modules to get the benefit of Perl's distribution and testing tools

Mastering Perl starts you on your path to becoming the person with the answers or, failing that, the person who knows how to discover and troubleshoot the problem.

brian d foy, an instructor for Stonehenge Consulting Services, is the publisher of The Perl Review. He founded the nonprofit Perl Mongers, Inc., which helped form more than 200 Perl user groups across the globe. brian maintains the perlfaq portions of the core Perl documentation and several modules on CPAN. He's a frequent speaker at Perl conferences and a contributor to The O'Reilly Network, The Perl Journal, Dr. Dobbs,, and several Perl Usenet groups.

More information about the book, including table of contents, index, author bio, and samples

Mastering Perl
brian d foy
ISBN: 0-596-52724-1, $39.99 US
1-800-998-9938; 1-707-827-7000

About O'Reilly

For almost 40 years, O’Reilly Media has provided technology and business training, knowledge, and insight to help companies succeed. Our unique network of experts and innovators share their knowledge and expertise through the company’s Safari training and learning platform and at O’Reilly conferences. As a SaaS learning platform, Safari delivers highly topical and comprehensive technology and business learning solutions to millions of users across enterprise, consumer, and university channels. For more information visit

Return to: O'Reilly Press Room

Press Contacts

Media Relations – Corporate & North America

Fama PR

Media Relations – Japan

Fumi Yamakawa
+81 3-3356-5227

Media Relations – United Kingdom

Helen Codling
+44 (0) 1252 721284