Perl Cookbook (COOKBOOKS) and over one million other books are available for Amazon Kindle. Learn more

Buy New

or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Buy Used
Used - Good See details
$25.30 & this item ships for FREE with Super Saver Shipping. Details

or
Sign in to turn on 1-Click ordering.
 
   
Kindle Edition
 
   
Sell Back Your Copy
For a $3.95 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Perl Cookbook, Second Edition
 
 
Start reading Perl Cookbook (COOKBOOKS) on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Perl Cookbook, Second Edition [Paperback]

Tom Christiansen (Author), Nathan Torkington (Author)
4.7 out of 5 stars  See all reviews (116 customer reviews)

List Price: $49.95
Price: $32.97 & this item ships for FREE with Super Saver Shipping. Details
You Save: $16.98 (34%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 15 left in stock--order soon (more on the way).
Want it delivered Monday, January 30? Choose One-Day Shipping at checkout. Details

Formats

Amazon Price New from Used from
Kindle Edition $29.67  
Paperback $32.97  
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Book Description

COOKBOOKS August 28, 2003

Find a Perl programmer, and you'll find a copy of Perl Cookbook nearby. Perl Cookbook is a comprehensive collection of problems, solutions, and practical examples for anyone programming in Perl. The book contains hundreds of rigorously reviewed Perl "recipes" and thousands of examples ranging from brief one-liners to complete applications.

The second edition of Perl Cookbook has been fully updated for Perl 5.8, with extensive changes for Unicode support, I/O layers, mod_perl, and new technologies that have emerged since the previous edition of the book. Recipes have been updated to include the latest modules. New recipes have been added to every chapter of the book, and some chapters have almost doubled in size.

Covered topic areas 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, and telnet
  • CGI and mod_perl programming
  • Web programming
Since its first release in 1998, Perl Cookbook has earned its place in the libraries of serious Perl users of all levels of expertise by providing practical answers, code examples, and mini-tutorials addressing the challenges that programmers face. Now the second edition of this bestselling book is ready to earn its place among the ranks of favorite Perl books as well.

Whether you're a novice or veteran Perl programmer, you'll find Perl Cookbook, 2nd Edition to be one of the most useful books on Perl available. Its comfortable discussion style and accurate attention to detail cover just about any topic you'd want to know about. You can get by without having this book in your library, but once you've tried a few of the recipes, you won't want to.


Frequently Bought Together

Perl Cookbook, Second Edition + Programming Perl (3rd Edition) + Learning Perl
Price For All Three: $87.38

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Programming Perl (3rd Edition) $30.42

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Learning Perl $23.99

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details


Customers Who Bought This Item Also Bought


Editorial Reviews

Amazon.com Review

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.

Product Details

  • Paperback: 966 pages
  • Publisher: O'Reilly Media; Second Edition edition (August 28, 2003)
  • Language: English
  • ISBN-10: 0596003137
  • ISBN-13: 978-0596003135
  • Product Dimensions: 9.2 x 7 x 1.8 inches
  • Shipping Weight: 3 pounds (View shipping rates and policies)
  • Average Customer Review: 4.7 out of 5 stars  See all reviews (116 customer reviews)
  • Amazon Best Sellers Rank: #157,826 in Books (See Top 100 in Books)

More About the Authors

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

116 Reviews
5 star:
 (93)
4 star:
 (13)
3 star:
 (6)
2 star:
 (2)
1 star:
 (2)
 
 
 
 
 
Average Customer Review
4.7 out of 5 stars (116 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

41 of 42 people found the following review helpful:
4.0 out of 5 stars Several years of experience in several hundred pages, December 12, 1999
By 
This review is from: Perl Cookbook (Paperback)
Sometimes I think either Tim O'Reilly or Tom Christiansen knows what I am thinking.

In the past week alone, I can count half a dozen times I have wondered about ways to do things in Perl, and never once have I failed to get either a full solution or a running start from the information in this book. If you have read Learning Perl by Christiansen and Schwartz (and if you haven't, you probably should before tackling this one), then this is your next step on the road to Perl.

This book contains hundreds of examples of solutions to "How do I..." type problems using Perl. Ranging from core language topics like hashes, sorting, and string and array processing, to files, database access, IPC, and brief but useful sections on Web and CGI usage, there is something here for everyone who does things with Perl.

Each chapter contains at least a dozen 'recipes' for solving a particular problem in a particular context. Each recipe is neatly laid out with a brief description of the problem, a proposed solution, and a follow-up discussion section. I especially appreciated the discussions, as they maintain the plurality of Perl--the proposed solutions work, but the discussion area almost invariably also includes alternate approaches or techniques. That's the beauty of Perl (and its motto)--There's More Than One Way To Do It. This book offers the intermediate programmer years of experience in solving real world problems using Perl in a few hundred, easy to read pages.

If you have learned enough about Perl to get started, the next thing you should do is get this book. So get cooking!

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


32 of 33 people found the following review helpful:
5.0 out of 5 stars One of the best programming books I have read, January 18, 2000
This review is from: Perl Cookbook (Paperback)
I have owned this book for over a year and still use it regularly. While I was learning Perl syntax I found that it served very well when language guides such as "Programming Perl" fell short. When I started using the language I didn't have the syntax totally mastered and came across various little questions and problems. The "Perl Cookbook" addressed both of these by providing succinct solutions to my problems while helping me learn more about Perl syntax.

Furthermore, this book exposes you to the various Perl modules available in a more natural way than searching for them in a general language reference like "Perl in a Nutshell". Most recipies in the book present a simple code solution and then refer to a module that provides the same (and often extended) functionality.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


34 of 36 people found the following review helpful:
5.0 out of 5 stars Perfect companion to Programming Perl and Advanced Perl Prog, December 4, 1998
By 
Jeffry Scott (Seattle, WA USA) - See all my reviews
(REAL NAME)   
This review is from: Perl Cookbook (Paperback)
After dog-earring (sic) the pages of the first edition of Programming Perl (the Camel book), I quickly glommed on to the second edition, thinking that they'll have even more informed narrative and great examples. The enhanced narrative WAS worth purchase of the second edition, but, as mentioned in the Amazon.com review, the "Command Tasks with Perl" and "Real Perl Programs" chapters had been dropped... it's been the closest I've ever come to letter-bombing a book publisher. Little did we know that there was a cunning plan by the Perl wizards and O'Reilly to produce The Perl Cookbook.

While in this world of instant communication some say that two years was a long time to wait for the Cookbook, the wait was definitely worth it. The Cookbook is a treasure trove of examples, and should be considered a mandatory companion to Programming Perl AND Advanced Perl Programming on the bookshelf of intermediate and advanced perl programmers.

The Cookbook is also a great place for the novice to feed after cutting their teeth on Learning Perl. Each section is a mini-tutorial with nice examples to enter and ponder. Combined with the Camel book as general background and reference, you'll go a long way in finding quick solutions to common problems.

I'm not sure what was the problem of one reviewer regarding typographical errors. I've been using the first edition of the Cookbook, and have not encountered any serious difficulties. It seems that any typographical errors (and I haven't seen any, but then I haven't been looking) would have at worst lost one star in rating the Cookbook. Benefits of the Cookbook seem to far outweigh the nits on which this reviewer has focused. I do agree with the reviewer's final note: buy copies from the second and third printings, as I'm sure the first edition has already sold out! (... and some perl book geek will view this as an opportunity to collect a "first edition.")

It's not often I'm moved to write an online review. The Perl Cookbook is a superb reference for any serious perl programmer and especially for the novice and intermediate wanting to improve their skills. Buy this book! Bon appetit!

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
named filehandles, hash whose keys, use fcntl, bytes pragma, filehandle argument, cannot fork, return sprintf, gmtime functions, scalar context, enclosing directory, scalar localtime, anonymous hash, grep function, hash slice, program args, open filehandle, sub handler, taint mode, literal single quotes, sub usage, hash reference, sub func, anonymous array, paragraph mode, return undef
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Programming Perl, Solution Use, Mastering Regular Expressions, Developer's Cookbook, Template Toolkit, Discussion Here, Solution Either, Tue Jan, Child Pid, Fort Collins, Mountain View, Perl Cookbook, Sun May, Writing Apache Modules, Discussion Perl, Larry Wall, Network Programming, Solution Read, Tie Example, Anonymous Perl, File Not Found, Folk Punk, Second Edition, Discussion Example, Taking References
New!
Books on Related Topics | Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Surprise Me!
Search Inside This Book:



Books on Related Topics (learn more)

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(23)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums


Listmania!


So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject