Advanced Perl Programming [NOOK Book]


With a worldwide community of users and more than a million dedicated programmers, Perl has proven to be the most effective language for the latest trends in computing and business.

Every programmer must keep up with the latest tools and techniques. This updated version of Advanced Perl Programming from O'Reilly gives you the essential knowledge of the modern Perl programmer. Whatever your current level of Perl expertise, this book will help ...

See more details below
Advanced Perl Programming

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$19.99 price
(Save 44%)$35.99 List Price


With a worldwide community of users and more than a million dedicated programmers, Perl has proven to be the most effective language for the latest trends in computing and business.

Every programmer must keep up with the latest tools and techniques. This updated version of Advanced Perl Programming from O'Reilly gives you the essential knowledge of the modern Perl programmer. Whatever your current level of Perl expertise, this book will help you push your skills to the next level and become a more accomplished programmer.

O'Reilly's most high-level Perl tutorial to date, Advanced Perl Programming, Second Edition teaches you all the complex techniques for production-ready Perl programs. This completely updated guide clearly explains concepts such as introspection, overriding built-ins, extending Perl's object-oriented model, and testing your code for greater stability.

Other topics include:

  • Complex data structures
  • Parsing
  • Templating toolkits
  • Working with natural language data
  • Unicode
  • Interaction with C and other languages

In addition, this guide demystifies once complex topics like object-relational mapping and event-based development-arming you with everything you need to completely upgrade your skills.

Praise for the Second Edition:

"Sometimes the biggest hurdle to problem solving isn't the subject itself but rather the sheer number of modules Perl provides. Advanced Perl Programming walks you through Perl's TMTOWTDI ("There's More Than One Way To Do It") forest, explaining and comparing the best modules for each task so you can intelligently apply them in a variety of situations." --Rocco Caputo, lead developer of POE

"It has been said that sufficiently advanced Perl code is indistinguishable from magic. This book of spells goes a long way to unlocking those secrets. It has the power to transform the most humble programmer into a Perl wizard." --Andy Wardley

"The information here isn't theoretical. It presents tools and techniques for solving real problems cleanly and elegantly." --Curtis 'Ovid' Poe

" Advanced Perl Programming collects hard-earned knowledge from some of the best programmers in the Perl community, and explains it in a way that even novices can apply immediately." --chromatic, Editor of

Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
What makes an “advanced” Perl programmer? Not just familiarity with technique but clarity about what works and what doesn’t. Not just strong coding skills but the ability to make the most of CPAN. Simon Cozens’ Advanced Perl Programming, Second Edition is about gaining all that knowledge.

A comprehensive revamp of Sriram Srinivasan’s older book by the same name, this book reflects key trends in Perl development while focusing more heavily on practical problem solving. Cozens’ elegant solutions range from introspection to object serialization, templating to Unicode. He takes on “hard” problems, such as parsing and natural language processing, and presents a full chapter on using inline modules to efficiently access the power of libraries from other languages. Read this book, and you’ll think about Perl in powerful new ways -- no matter what you’re doing with it. Bill Camarda, from the August 2005 Read Only

Read More Show Less

Product Details

  • ISBN-13: 9781449378912
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 6/28/2005
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 2
  • Pages: 300
  • Sales rank: 1,277,141
  • File size: 3 MB

Meet the Author

Simon Cozens is an Open Source programmer and author. He has released over a hundred Perl modules including Email::Simple, Mail::Audit, Maypole, Plucene, and B::Generate. He's the co-author of Beginning Perl (Wrox) and Extending and Embedding Perl (Manning) and was the managing editor of from 2001 to 2004. A graduate in Japanese from Oxford University, he now lives in Wales and enjoys Japanese and Greek food, bizarre music and fine typography.

Read More Show Less

Table of Contents

1 Advanced techniques 1
2 Parsing techniques 43
3 Templating tools 79
4 Objects, databases, and applications 118
5 Natural language tools 149
6 Perl and Unicode 172
7 POE 195
8 Testing 215
9 Inline extensions 233
10 Fun with Perl 256
Read More Show Less

Customer Reviews

Average Rating 4.5
( 2 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 2 Customer Reviews
  • Anonymous

    Posted August 20, 2005


    The Perl world has changed drastically in the last five years! Author Simon Cozens has done an outstanding job of keeping up with those changes in this 2nd edition of the book by taking you through some of the most important Perl techniques and resources available at the moment. Cozens begins by introducing a few common tricks advanced Perl programmers use with examples from popular Perl modules. Next, the author covers parsing irregular or unstructured data with Parse::RecDescent and Parse::Yapp, plus parsing HTML and XML. Then, he details some of the most common tools for templating and when to use them, including formats, Text::Template, HTML::Template, HTML::Mason, and the Template Toolkit. The author continues by explaining various ways to efficiently store and retrieve complex data using objects--a concept commonly called object-relational mapping. In addition, the author next shows you some of the ways Perl can manipulate natural language data: inflections, conversions, parsing, extraction, and Bayesian analysis. He also reviews some of the problems and solutions to make the most of Perl's Unicode support. The author next looks at the popular Perl event-based environment for task scheduling, multitasking, and non-blocking I/O code. Next, the author covers the essentials of testing your code. Then, he talks about how to extend Perl by writing code in other languages, using the Inline::* modules. Finally, he closes on a lighter note with a few recreational use of Perl. With the preceding in mind, the author has done an excellent job of making sure that you will have a good idea of how to use what's available in Perl and, how you can save yourself time and effort by using Perl and the resources available to get the job done. At the end of the day, you'll be ready to use and integrate whatever developments come down the line.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted July 26, 2011

    No text was provided for this review.

Sort by: Showing all of 2 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)