• List Price: CDN$ 64.77
  • You Save: CDN$ 13.63 (21%)
Only 10 left in stock (more on the way).
Ships from and sold by Amazon.ca. Gift-wrap available.
Perl Cookbook has been added to your Cart
+ CDN$ 6.49 shipping
Used: Good | Details
Sold by Daily-Deal-
Condition: Used: Good
Comment: This Book is in Good Condition. Used Copy With Light Amount of Wear. 100% Guaranteed.
Have one to sell?
Flip to back Flip to front
Listen Playing... Paused   You're listening to a sample of the Audible audio edition.
Learn more
See all 2 images

Perl Cookbook Paperback – Aug 31 2003

4.7 out of 5 stars 89 customer reviews

See all 4 formats and editions Hide other formats and editions
Amazon Price
New from Used from
Kindle Edition
"Please retry"
"Please retry"
CDN$ 51.14
CDN$ 44.64 CDN$ 12.04

Harry Potter and the Cursed Child
click to open popover

Frequently Bought Together

  • Perl Cookbook
  • +
  • Learning Perl
  • +
  • Learning Python
Total price: CDN$ 135.71
Buy the selected items together

No Kindle device required. Download one of the Free Kindle apps to start reading Kindle books on your smartphone, tablet, and computer.
Getting the download link through email is temporarily not available. Please check back later.

  • Apple
  • Android
  • Windows Phone
  • Android

To get the free app, enter your mobile phone number.

Product Details

  • Paperback: 968 pages
  • Publisher: O'Reilly Media; 2 edition (Aug. 31 2003)
  • Language: English
  • ISBN-10: 0596003137
  • ISBN-13: 978-0596003135
  • Product Dimensions: 17.8 x 4.8 x 23.3 cm
  • Shipping Weight: 1.4 Kg
  • Average Customer Review: 4.7 out of 5 stars 89 customer reviews
  • Amazon Bestsellers Rank: #279,954 in Books (See Top 100 in Books)
  •  Would you like to update product info, give feedback on images, or tell us about a lower price?

  • See Complete Table of Contents

Product Description

From Amazon

When the second edition of Programming Perl was released, the authors omitted two chapters: "Common Tasks with Perl" and "Real Perl Programs." Publisher O'Reilly & Associates soon realized that there would be too many pages in Programming Perl if it put updated recipes in the new edition. Instead, O'Reilly chose to release the many Perl code examples as a separate entity: The Perl Cookbook.

The recipes are well documented and the examples aren't too arcane; even beginners will be able to pick up the lessons taught here. The authors write in relatively easy-to-understand language (for a technical guide). Through this book and its arsenal of recipes, you will learn many new things about Perl to help you through your toughest projects. The next time you're working on a project at 2 a.m., you'll thank yourself for the guidance and direction The Perl Cookbook provides. --Doug Beaver --This text refers to an out of print or unavailable edition of this title.

From Library Journal

Perl is probably the language holding together more web sites than any other. It is not the fastest or the most elegant, but it can slurp text as no other language can?and it is free. This is an invaluable book for all levels of Perl programmers, from novice to advanced. It contains great working examples of Perl code to do everything from data structures and string matching to reading files and using libraries to CGI programming and programming Internet applications. Highly recommended for all libraries; serious web collections should consider two copies.
Copyright 1998 Reed Business Information, Inc. --This text refers to an out of print or unavailable edition of this title.

See all Product Description

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

Top Customer Reviews

Format: Paperback
I love Perl. I am almost obsessed with it. I have even left love messages for my wife in the mirror written in the best Perl I can manage. That's not to say that I am a Perl expert--not by any means. I think I shall forever remain a student as there is always more to learn. I am always searching for the latest Perl tidbit and I usually turn first to an O'Reilly book. One of the latest publications to come from O'Reilly on the subject of Perl is the second edition of the Perl Cookbook. Five years have passed since the last edition was published and a lot has changed in that short time span.
For those of you looking to improve your physique without leaving your desk, you'll find hefting this latest edition better suited to the task. It's about 200 pages thicker and about 543 pounds heavier. Okay, so the weight is an exaggeration. There are 80 new recipes (and two new chapters) covering technologies such as Unicode, XML and mod_perl. Even if you own a copy of the first edition, you will find the new recipes and the updated recipes of great value.
For those of you unfamiliar The Perl Cookbook, you will discover a rich treasure trove of excellent solutions to vexing problems. While the Perl Cookbook won't teach you the basics of Perl, beginners can benefit from not having to reinvent the wheel for addressing common tasks such as sorting, traversing, printing or deleting hashes. Advanced Perl Mongers may find the updated discussion on process management, object orientation and module creation enlightening.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again.
Report abuse
By A Customer on Oct. 3 2003
Format: Paperback
Already having considerable experience as a professional programmer mostly from system level software, I started out my new job as a database programmer with little to no previous hands-on Perl experience at a company unit where Perl was the commonly used tool for various data collecting and manipulation tasks, which compelled me to learn Perl very rapidly. After digesting the Perl syntax from "Programming Perl", I picked up this book and was instantly able to code a reporting utility by referencing this book whenever I encountered a problem I didn't know the Perl solution for, such as smart ways for processing user input or even rounding floating point numbers.
Eventually I've read this book a few times from cover to cover and learned various common practices that I repeatedly, and successfully, apply in my day-to-day programming tasks, and some of the stuff in this book is even applicable to various other environments.
A recommended read for people who prefer to learn Perl by doing, and you just might add some tricks up your sleeve even if Perl isn't your primary interest.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again.
Report abuse
Format: Paperback
In the past, I've had a bad experience with Cookbook-styles. One example would be a "CGI/Perl Cookbook". But this one is nothing like its counterpart.
To be able to follow the cookbook, you're expected to have a basic knowledge of Perl, Perl data structures and IO filehandles. The rest is "in order to get there, do like this, because of that" - style. Very easy to follow, very concise and at the same time informative. What you will appreciate the most of this book is, it doesn't just give you a solution, but it also teaches you the solution.
The book consists of 20 chapters, each chapter dedicated to a distinct subject, such as Strings, Numbers, Dates and Times, Arrays, Hashes, Pattern Matching, File access, File Contends and so on. Each chapter, consists of smaller sections, called "Receipts". Each receipt is dedicated to a solution of one commonly encountered real-life problem.
For example, Receipt 8.6, "Picking a Random Line from a File" introduces the problem , gives a very elegant solution: "rand($.) < 1 && ($line=$_) while <>", and provides a one page exciting description of the algorithm, followed by references.
Although I've been involved in Perl extensively for the last 3 years, I still catch myself skimming through the receipts to compare my solutions to that of the book. Frequently I end up discovering something new and exciting.
The book is definitely of value. Any Perl programmer should have it.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again.
Report abuse
Format: Paperback
When I first looked at this book, it seemed like a good idea. Perl is sufficiently arcane for there to be lot's of simple solutions that will not be immediately obvious. However, the book has two major faults. It is too thick, and it is too specific.
What I had hoped for was something like "Design Patterns", but for Perl. But instead of trying to generalize, this book tries to list every specific problem that the beginning Perl programmer is likely to meet. For that reason it is unreadable. Any real insight is bound to get hidden in between dozens of trivial tasks. And when you actually meet some problem you think would be a good idea to look up, it is unlikely to be exactly the same as the authors envisioned (why not simply write a library instead?).
With the general incompetence level in the IT-sector during the dot-com bubble, it is possible this book needed to exist, but today it seems like a monument of stupidity, a useless reference that will catch dust forever.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again.
Report abuse
Format: Paperback
More books like these should be written for all popular languages. This is by far the most used book for me when I started to learn and program using Win32 Perl. I've not run into any problems with programming in the Win32 environment with this book. The second most used book is "Perl in a Nutshell," also by O'Reilly. But if there's a problem I have, I reach for this book first. 700+ pages packed with solutions and explanations of those solutions to many common problems. Most of the time, you'll find something in there to get you started if it doesn't solve your problem outright. There are whole sections for solving problems with:
Date and Times
Pattern Matching
File Access
File Contents
References and Records
Packages, Libraries and Modules
Classes, Objects and Ties
Database Access
User Interface
Process AManagement and Communication
Internet Services
CGI Programming
Web Automation
That's 20 sections in all! Get the book and stop suffering while looking for answers to your Perl problems. This book easily saved a month's worth of my time during a 4 month project. Plus, it saved me from writing inefficient code simply because I was new to the language and didn't know the tricks that can be used for such a wonderful language.
Was this review helpful to you? Yes No Sending feedback...
Thank you for your feedback.
Sorry, we failed to record your vote. Please try again.
Report abuse

Most recent customer reviews