Perl in A Nutshell: A Desktop Quick Reference (2nd Edition)

  Author:    Ellen Siever, Stephen Spainhour, Nathan Patwardhan
  ISBN:    0596002416
  Sales Rank:    140878
  Published:    2002-06
  Publisher:    O'Reilly
  # Pages:    800
  Binding:    Paperback
  Avg. Rating:    4.0 based on 24 reviews
  Used Offers:    21 from $11.98
  Amazon Price:    $26.37
  (Data above last updated:  2008-10-11 06:43:20 EST)
  
  
Sort customer reviews by:
  
Show All Reviews on Page      Hide All Reviews on Page
   
  
Perl in A Nutshell: A Desktop Quick Reference (2nd Edition)
  
This complete guide to the Perl programming language ranges widely through the Perl programmer's universe, gathering together in a convenient form a wealth of information about Perl itself and its application to CGI scripts, XML processing, network programming, database interaction, and graphical user interfaces. The book is an ideal reference for experienced Perl programmers and beginners alike. With more than a million dedicated programmers, Perl is proving to be the best language for the latest trends in computing and business, including network programming and the ability to create and manage web sites. It's a language that every Unix system administrator and serious web developer needs to know. In the past few years, Perl has found its way into complex web applications of multinational banks, the U.S. Federal Reserve, and hundreds of large corporations. In this second edition, Perl in a Nutshell has been expanded to include coverage of Perl 5.8, with information on Unicode processing in Perl, new functions and modules that have been added to the core language, and up-to-date details on running Perl on the Win32 platform. The book also covers Perl modules for recent technologies such as XML and SOAP. Here are just some of the topics contained in this book:
  • Basic Perl reference
  • Quick reference to built-in functions and standard modules
  • CGI.pm and mod_perl
  • XML::* modules
  • DBI, the database-independent API for Perl
  • Sockets programming
  • LWP, the library for Web programming in Perl
  • Network programming with the Net modules
  • Perl/Tk, the Tk extension to Perl for graphical interfaces
  • Modules for interfacing with Win32 systems
As part of the successful "in a Nutshell" book series from O'Reilly & Associates, Perl in a Nutshell is for readers who want a single reference for all their needs. "In a nutshell, Perl is designed to make the easy jobs easy, without making the hard jobs impossible." -- Larry Wall, creator of Perl
Perl in a Nutshell strives to be a perfect set of socket tools for the active Perl programmer. By and large, it succeeds, providing endless and well-thought-out lists and tables on the language's modules, flags, and extensions. The authors briefly address basic learner's questions--such as the difference between a hash and an array--but these concepts are not the purpose of the book. (Those new to Perl would be better off with others in the O'Reilly Perl series, such as Learning Perl, while programmers making the switch to Perl can pick up the nuances of the language with Programming Perl.) This book is pure Perl reference, briefly covering Perl/Tk (for GUI Perl programs on Unix and Windows 95/NT) and Perl for Win 32.

The authors do start at the very beginning, and even in a self-described "desktop quick reference" find the time to comment on less urgent--but still interesting--Perl-related matters (like how to find online help amidst the "Perl culture"). The format of the book makes sections on topics such as Perl debugging easily understandable, illustrating how to make an interactive and timesaving environment.

Of particular convenience is the outstanding section on the standard Perl modules. A four-page "quick look" allows you to easily scan through short definitions of all the modules and find the entry you're looking for. An index with full definitions for each module follows, showing you how to use each module and providing a more in-depth explanation (and often, examples). Perl in a Nutshell concludes--as you might expect--with an excellent and well-cross-referenced index. --Jennifer Buckendorff

                  Reader Reviews 1 - 14 of 14                 
  
  
Review
Date
Review
Rating(5 High)
Review
Helpful
to:
Customer Review Reviewer
Info
Permanent
Link
Reader Reviews Below Sorted by Newest First
08-23-08 5 (NA)
(Hide Review...)  Excellent
Reviewer Permalink
I have a shelf of Perl books from O'Reilly, from the Quick Reference to Advanced Perl Programming. This tends to be my first grab when I am looking for something. A bit thick when I am on the road, so I fall back to the Quick Reference, and whenever I do, I find I miss having the Nutshell book (with all my notes in the margins :) If I can't find it in this book, I jump to the Perl Reference most often.
(Review Data Last Updated: 2008-10-10 07:49:02 EST)
01-11-07 5 (NA)
(Hide Review...)  Perl in A Nutshell: A Desktop Quick Reference (2nd Edition)
Reviewer Permalink
Covers the language.

Invaluable text for those with programming ability but need to know
"How do you do that in Perl?".

CGI chapters extremely useful.
(Review Data Last Updated: 2007-01-18 15:52:43 EST)
05-03-04 5 15\16
(Hide Review...)  I've used Perl for several years and love this book
Reviewer Permalink
Exactly as advertised, "Perl in a Nutshell: A Desktop Quick Reference" is a great reference book if you already have a basic understanding of Perl. Although it does have a section that it refers to as an "Introduction to Perl" it is actually a pretty cursory introduction and there are better books for learning the basics of Perl.

The book does have an excellent section on installing Perl including installation on both the Unix and Windows platforms. I've worked with both platforms and the installation process is well documented including how to install modules. This brings us to the large chapter on getting and installing Perl modules. I have spent hours sometimes trying to find an appropriate module for a special situation. This chapter lists all the most common modules and includes descriptions of what they do. This alone makes it a valuable resource for anyone involved in Perl.

The authors also include a lot of technical information including command line options and environment variables as well as a section on program structure, data types, special variables, operators, expressions, subroutines, filehandles, and just about anything else that you might need a quick refresher on.

Functions are listed both by category and by alphabetical order with descriptions and syntax information. I had a couple of problems on a large project recently and it took three days to get an answer through the forums on the Internet. The answers to all of them are right here and I could have saved myself a lot of trouble if I had had this book then.

A lot of other information is available in the book including CGI programming, Webserver programming, database programming, SOAP, Network modules including Net, Mail, NNTP, FTP, and LDAP, Perl/Tk, Win32 Modules and Extensions, OLE Automation, and ODBC Extensions. This book will be the one I keep close at hand when working with Perl and deserves its location on my desktop instead of in the library. "Perl in a Nutshell" is highly recommended for Perl programmers from basic to advanced level.

(Review Data Last Updated: 2008-08-23 06:13:11 EST)
12-14-03 3 6\7
(Hide Review...)  A handy reference, but...
Reviewer Permalink
This is a handy reference, but if you have a limited budget you should probably go with Programming Perl and the Perl Cookbook before this one. This is a fine reference but it doesn't have the depth that the other books have and the information on the modules is available online through CPAN. I have the entire Perl library on my bookshelf and I hardly ever pick this one up.
(Review Data Last Updated: 2007-06-24 15:28:09 EST)
12-13-03 3 6\7
(Hide Review...)  A handy reference, but...
Reviewer Permalink
This is a handy reference, but if you have a limited budget you should probably go with Programming Perl and the Perl Cookbook before this one. This is a fine reference but it doesn't have the depth that the other books have and the information on the modules is available online through CPAN. I have the entire Perl library on my bookshelf and I hardly ever pick this one up.
(Review Data Last Updated: 2006-07-05 15:32:02 EST)
09-06-02 5 4\5
(Hide Review...)  Great reference!
Reviewer Permalink
I am not a beginning programmer nor am I what you would call an expert. Having a background in PHP made Perl easy to learn, so I didn't need a book that would "teach" Perl. All I needed was a good reference to figure out the differences between PHP and Perl. This book did exactly that! I was able to start programming within a day and I have referenced this book more times than I can count during my most recent development efforts. The binding is nearly worn out! I recommend this book to intermediate programmers that only need a small boost to get to work. If you're a beginner, buy this book to use after you learn the basics and you'll find it to be one of the most valuable tools on your desk!
(Review Data Last Updated: 2007-07-05 18:59:25 EST)
07-24-02 1 8\13
(Hide Review...)  High Level Descriptions with Few Samples
Reviewer Permalink
This book is full of alphabetical high level descriptions (which are always ambiguous) of Perl language statements with few or no illustrative examples (which always help clear up ambiguity).
It is a waste of money.
(Review Data Last Updated: 2007-07-05 18:59:25 EST)
04-30-02 2 15\16
(Hide Review...)  Missing basic syntax rules. I wonder if the authors use Perl
Reviewer Permalink
My 2-star review is from the perspective of an intermediate Perl user. From my exp. with 'Unix in a Nutshell', I expected this book to be all I needed in my briefcase at work. As it turns out, I'll take the "Camel" (Programming Perl) and leave this uninspiring book at home.

Let me give you an example: I was poring over a (slightly) complicated regular expression, trying to figure out what was going on...there seemed no rhyme or reason to it.....there were way too many spaces and yet the pattern was matching!! I then noticed the "x" option on the end of it: /reg-ex/x Thinking this could be the culprit, I broke out Perl:NUTSHELL...I found the appropriate table and it said: this option used to Enable Extended regular expressions. Ah-ha! But wait, what are Extended regular Epressions, and what is the deal with all these extra spaces in my reg-ex? I forwarded a bit and found the section about Extended Regular Expressions. And I found.........nothing. As it turns out (after looking in the Camel), the "x" means that all whitespace in the pattern is ignored, hence all the darn spaces. I made a point to look (again) for this bit of syntactic info in Perl:NUTSHELL, and it is not there. So what is the use of this book then, considering it is missing such a BASIC SYNTAX rule? Good question.
Another gripe: where's the freakin examples? While I don't expect NUTSHELL books to EXPLAIN the examples tutorial style, I do expect some basic usage examples to help me with commands I havn't used (again, see Unix in a Nutshell)!!

Another quick example for you Perl non-gurus (like myself): I came upon the Perl "filetest" operator "-t"....but the test had no following argument (e.g. the file's name), so I was confused. Off to the Nutshell. Oops. Nothing there except the shortest little description possible. Sigh. Back to the Camel, where I found that this particular file test operator defaults to a filehandle, , and not the usual variable which is $_ (perl's typical default). Hello? This isn't important!? Totally ridiculous for a supposed "reference" book.

In conclusion, this book seems to have zero "learning" value, being so terse (not to mention boring) and having so few examples, and only mediocre reference usefulness. Don't buy this one, buy the other O'Reilly books on Perl (Learning Perl and Programming Perl are high quality, as is Perl Cookbook). You might have to lug the Camel around (dromedaries are heavy), but it is superior to this inconcise man-page in every way (has a big reference section + a big 'learning' section).

PS. this is the 1st ed. Maybe the 2nd will be worth the money.

(Review Data Last Updated: 2007-07-05 18:59:25 EST)
05-02-01 4 4\5
(Hide Review...)  Lots of Material But No Examples
Reviewer Permalink
This book consists of a 150-page Perl manpage, plus a big, fat catalog of Perl packages. It's great for finding out what's available, but once you've spotted your prey and want to make use of it, you may have to mess around with it for a while to get it to work -- which is where the examples would have been useful.

(Of course, if it actually had examples, it would be called "Ultimate Perl Encyclopedia Unleashed", be 1300 pages, and would put all the other Perl authors out of business. This way, we programmers get to enjoy our hobby of book collecting.)

Is it worth buying? Yes. But you'll need other books (e.g., Hall: Effective Perl Programming, which is FILLED with nice examples) to show you how to use Perl. And be sure to download or buy the Programming Perl Quick Reference Guide.

(Review Data Last Updated: 2007-06-24 15:28:09 EST)
05-01-01 4 4\5
(Hide Review...)  Lots of Material But No Examples
Reviewer Permalink
This book consists of a 150-page Perl manpage, plus a big, fat catalog of Perl packages. It's great for finding out what's available, but once you've spotted your prey and want to make use of it, you may have to mess around with it for a while to get it to work -- which is where the examples would have been useful.

(Of course, if it actually had examples, it would be called "Ultimate Perl Encyclopedia Unleashed", be 1300 pages, and would put all the other Perl authors out of business. This way, we programmers get to enjoy our hobby of book collecting.)

Is it worth buying? Yes. But you'll need other books (e.g., Hall: Effective Perl Programming, which is FILLED with nice examples) to show you how to use Perl. And be sure to download or buy the Programming Perl Quick Reference Guide.

(Review Data Last Updated: 2006-07-05 15:32:02 EST)
09-12-00 5 1\4
(Hide Review...)  Perl in a Nutshell : A Desktop Quick Reference
Reviewer Permalink
Simaply the best reference book for Perl, I highly recommend this book to new users. Over all this is a nice book to read and I recommend this to all of my collegues and friends.
(Review Data Last Updated: 2006-07-05 15:32:02 EST)
09-09-00 2 8\8
(Hide Review...)  wrong emphases in language reference, good module docs
Reviewer Permalink
I'd been occasionally writing perl for a few months without a decent reference, and have always relied on O'Reilly's _In A Nutshell_ series, so got this book. I think this did not live up to standards..

After an introduction to CPAN (online perl archive) and installing perl, the basic constructs of the language are explained in reasonable (for programmers) detail - data types, statements, special vars, operators, regex, subroutines, pod and the perl debugger. Some of it reads like a tutorial rather than reference, using paragraphs where tables would suit, slowing down ability to access info.

On advanced topics such as object orientation (3 pages), it faded into "throw a few paragraphs together". Occasional usage notes (e.g. anonymous subroutines for closures) would have been nice too.

A full function reference and alphabetised list of standard modules is given, with specific sections on databases, network programming, perl/tk, CGI and win32. With the exception of the CGI section (maybe thanks to its duplication in _Webmaster In A Nutshell_) they are usually little more than a list of methods/subroutines.

I'd advise buying the Camel book, and sticking to the online docs for modules and functions.

(Review Data Last Updated: 2006-07-05 15:32:02 EST)
08-10-00 1 12\12
(Hide Review...)  Annoyingly Inconsistent and Incomplete
Reviewer Permalink
This was one of my first books after Learning Perl, and I have to say after using it for about a month that I'm having to go and buy other books. Nutshell does not equal incomplete in my mind, and something that purports to be a reference should be at least as complete as the documentation. A short list of what I've been ticked of by so far:

1) Less than 2 pages devoted to object oriented perl. I realize that probably less than 20% of all perl people will ever write anything object oriented, but I'm find OO essential for breaking down complicated problems.

2) Missing library calls; for example, in the DBI library: prepare_cached, connect_on_init really do exist.

3) Incomplete documentation of each and every library call; what are the possible values of an attribute hash? You better RTM, because usually you won't find it here.

4) Inconsistent documentation of library calls: sometimes they tell you what type the function wants, and sometimes they don't.

5) Lack of example usage in the libraries.

This is not nitpicky stuff. A comprehensive reference book should answer the purpose at least 60% of the time, or it becomes a waste of time. But, if you use this book first, you will *still* have to look at the documentation or another book, guaranteed.

This book bears all the hallmarks of having been hurriedly compiled from information available online, without expert review, and poorly edited. I realize documentation is a boring thankless task (better than Sominex for me), but nevertheless this book does not hit the mark.

(Review Data Last Updated: 2006-07-05 15:32:02 EST)
03-02-00 4 2\4
(Hide Review...)  Perfect for the basics, not as good for the advanced feature
Reviewer Permalink
Like all of the "Nutshell" series, this book is a detailed language reference with little or no "how to" value. Even so, I learned more about Perl from this book than any other I've read. The basics of the language are well documented and easy to apply when you need to. The second portion of the book deals with the various modules available for Perl. It is in this section that the book begins to gloss over things and becomes far less useful. Even the examples in these areas become more confusing. If you need a reference for the language basics, the book is wonderful. For the modules, it is little more than an overview, leaving you with an understanding of what they are used for, but not always how to use them.
(Review Data Last Updated: 2006-07-05 15:32:02 EST)
  
                  Reader Reviews 1 - 14 of 14                 
  
  
  
  
  
  

Because the data used to generate this site come from outside sources, VeryWellSaid.com cannot guarantee the completeness or accuracy of the data.
Search VeryWellSaid™
Google
Web VeryWellSaid™
New subjects are added every week.
View Subjects Below by:
* Top Selling
 (click category name, left)
* Top-Rated Top Sellers
 (click 'Top Rated', right)
In the news...  
Dubai\UAE Top Rated
Influenza\Bird Flu Top Rated
Iraq Top Rated
Supreme Court Top Rated
All Books Top Rated
Arts Top Rated
Photography Top Rated
Digital Photography Top Rated
Digital Cameras Top Rated
Biography Top Rated
Business Top Rated
Management Top Rated
Marketing Top Rated
Sales Top Rated
Stocks Top Rated
Bonds Top Rated
Real Estate Top Rated
Trading Top Rated
Commodities Trading Top Rated
Time Management Top Rated
Starting A Business Top Rated
Children's Top Rated
Comics Top Rated
Computers Top Rated
PC Top Rated
Mac Top Rated
Programming Top Rated
Design Patterns Top Rated
.Net Top Rated
C# Top Rated
Vb.Net Top Rated
Asp.Net Top Rated
Java Top Rated
Python Top Rated
PHP Top Rated
Perl Top Rated
Javascript Top Rated
Ajax Top Rated
CSS Top Rated
Open Source Top Rated
SQL Top Rated
Databases Top Rated
Oracle Top Rated
MySql Top Rated
Sql Server Top Rated
IIS Top Rated
Apache Top Rated
Linux Top Rated
Windows Server Top Rated
Project Management Top Rated
HTML Top Rated
UML Top Rated
IT Certifications Top Rated
Cisco Certifications Top Rated
MCSE Top Rated
MCSD Top Rated
Cooking Top Rated
Italian Cooking Top Rated
Vegetarian Cooking Top Rated
Wine Top Rated
Engineering Top Rated
Entertainment Top Rated
Health Top Rated
Nutrition Top Rated
Dieting Top Rated
Sex Top Rated
History Top Rated
Military History Top Rated
British History Top Rated
Middle East History Top Rated
Land Battles Top Rated
Naval Warfare Top Rated
Air Warfare Top Rated
9/11 Top Rated
Terrorism Top Rated
Home Top Rated
Mortgage\Home Equity Loan Top Rated
Cars Top Rated
Car Buying Top Rated
Sports Cars Top Rated
Cat Top Rated
Humor Top Rated
Horror Top Rated
Law Top Rated
IP Law Top Rated
Legal History Top Rated
Fiction Top Rated
Oprah's Book Club Top Rated
Medicine Top Rated
Cancer Top Rated
Stroke Top Rated
Heart Disease Top Rated
Fertility Top Rated
Diabetes Top Rated
Pharmacology Top Rated
Back Problems Top Rated
Menopause Top Rated
Thyroid Top Rated
Pain Top Rated
Organic Chemistry Top Rated
Immune System Top Rated
Mystery Top Rated
Nonfiction Top Rated
Outdoors Top Rated
Running Top Rated
Radio Control Models Top Rated
Guns Top Rated
Parenting Top Rated
Divorce Top Rated
Professional Top Rated
Reference Top Rated
Religion Top Rated
Romance Top Rated
Science Top Rated
Physics Top Rated
Chemistry Top Rated
Astronomy Top Rated
Psychology Top Rated
Science Fiction Top Rated
Sports Top Rated
Teens Top Rated
Travel Top Rated
USA Top Rated
Europe Top Rated
France Top Rated
Italy Top Rated
England Top Rated
China Top Rated
All Books Arts Biography Click Here For An A-Z Index Of All 213 Best-Seller Subjects Business Children's Comics
Computers Cooking Engineering Entertainment Health History Home Horror Humor Law Fiction Medicine Mystery
Nonfiction Outdoors Parenting Professional Reference Religion Romance Science Sci-Fi Sports Teens Travel
In Association with Amazon.com

Cache miss
(not cached)