Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


Find a Perl programmer, and you'll find a copy of PerlCookbook nearby. Perl Cookbook is a comprehensivecollection of problems, solutions, and practical examples foranyone programming in Perl. The book contains hundreds ofrigorously reviewed Perl "recipes" and thousands of examplesranging from brief one-liners to complete applications. The secondedition of Perl Cookbook has been fully updated for Perl5.8, with extensive changes for Unicode support, I/O layers,mod_perl, and new technologies that have emerged since the previousedition of the book. Recipes have been updated to include thelatest modules. New recipes have been added to every chapter of thebook, and some chapters have almost doubled in size. Covered topicareas include:

  • Manipulating strings, numbers, dates, arrays, and hashes

  • Pattern matching and text substitutions

  • References, data structures, objects, and classes

  • Signals and exceptions

  • Screen addressing, menus, and graphical applications

  • Managing other processes

  • Writing secure scripts

  • Client-server programming

  • Internet applications programming with mail, news, ftp, andtelnet

  • CGI and mod_perl programming

  • Web programming

Since its first release in 1998, Perl Cookbook has earnedits place in the libraries of serious Perl users of all levels ofexpertise by providing practical answers, code examples, andmini-tutorials addressing the challenges that programmers face. Nowthe second edition of this bestselling book is ready to earn itsplace among the ranks of favorite Perl books as well. Whetheryou're a novice or veteran Perl programmer, you'll find PerlCookbook, 2nd Edition to be one of the most useful books onPerl available. Its comfortable discussion style and accurateattention to detail cover just about any topic you'd want to knowabout. You can get by without having this book in your library, butonce you've tried a few of the recipes, you won't want to.

Subscriber Reviews

Average Rating: 4.6 out of 5 rating Based on 5 Ratings

"Essential for Coders" - by GrammyPuter on 17-MAR-2010
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
This is an essential for programmers like me, to whom a few examples are worth a book of description. My only quibble is that it hasn't been kept up-to-date

Report as Inappropriate

Table of Contents



The publisher has provided additional content related to this title.


Visit the catalog page for Perl Cookbook, 2nd Edition

  • Catalog Page

Visit the errata page for Perl Cookbook, 2nd Edition

  • Errata

Download the supplemental electronic content for Perl Cookbook, 2nd Edition

  • Supplemental Content