Perl Cookbook

Print Print
Reading time 3:32

Perl Cookbook
Perl Cookbook.jpg
Second edition
AuthorTom Christiansen
Nathan Torkington
CountryUnited States
PublisherO'Reilly Media
Publication date
August 1998
ISBN1-56592-243-3 (First edition)
ISBN 0-596-00313-7 (Second edition)

The Perl Cookbook, ISBN 0-596-00313-7, is a book containing solutions to common short tasks in Perl. Each chapter covers a particular topic area ("Strings", "Ties, Objects, and Classes", "CGI")[1] and is divided into around a dozen recipes each on a particular problem ("Reversing A String By Word Or Character", "Accessing Overridden Methods", "Managing Cookies"). Each recipe has four parts: "Problem", "Solution", "Discussion", and "See Also".

The Perl Cookbook is written by Tom Christiansen and Nathan Torkington, and published by O'Reilly. The Perl Cookbook inspired the PLEAC (Programming Language Examples Alike Cookbook) website, which translated the code snippets in the Perl Cookbook into other languages: Python, Ruby, Guile, Tcl, Java, and beyond. O'Reilly went on to publish other Cookbooks inspired by the Perl Cookbook's format, including Java Cookbook, Python Cookbook, CSS Cookbook, and PHP Cookbook.

Some related books are Learning Perl and Advanced Perl Programming.


The Perl Cookbook has been referred to as "the definitive Perl book"[2], "the ultimate Perl Grabbag",[3] and "an essential book for the advanced development of Perl skills".[4]


  • First edition (1998; 794 pages; ISBN 1-56592-243-3)
  • Second edition (2003; 964 pages; ISBN 0-596-00313-7)


  1. ^ Salus, Peter H. (1999-02-01). "The Bookworm". ;login:. USENIX. Retrieved 2011-06-24.
  2. ^ McClure, Stuart; Scambray, Joel (1999-03-15). "SecurityWatch: Perl scripts can help you batten down your Internet hatches". InfoWorld. InfoWorld Media Group, Inc.: 49.
  3. ^ Moorhouse, Michael; Barry, Paul (2004-07-26). Bioinformatics, Biocomputing and Perl. John Wiley & Sons. pp. 463. ISBN 0-470-85331-X.
  4. ^ Dyer, Russell (2004-02-01). "Review: Perl Cookbook". Dr. Dobb's Journal. UBM TechWeb. Retrieved 2011-06-24.

External links

Edited: 2021-06-18 14:31:32