perl |
Aftersleep Books
|
||||||||||||||||||||
Perl Cookbook Second EditionThe following report compares books using the SERCount Rating (base on the result count from the search engine). |
|||||||||||||||||||||
|
Aftersleep Books - 2005-06-20 07:00:00 | © Copyright 2004 - www.aftersleep.com () | sitemap | top |
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.