or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
Perl in A Nutshell: A Desktop Quick Reference (2nd Edition)
 
 
Tell the Publisher!
I'd like to read this book on Kindle

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

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

Ellen Siever (Author), Stephen Spainhour (Author), Nathan Patwardhan (Author)
3.8 out of 5 stars  See all reviews (25 customer reviews)

List Price: $39.95
Price: $26.23 & this item ships for FREE with Super Saver Shipping. Details
You Save: $13.72 (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.
Want it delivered Tuesday, February 14? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more

Formats

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

Book Description

June 2002 0596002416 978-0596002411 Second 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

Frequently Bought Together

Perl in A Nutshell: A Desktop Quick Reference (2nd Edition) + Programming Perl (3rd Edition) + Perl Cookbook, Second Edition
Price For All Three: $90.69

Some of these items ship sooner than the others. Show 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) $31.49

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

  • Perl Cookbook, Second Edition $32.97

    Usually ships within 6 to 10 days.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details


Customers Who Bought This Item Also Bought


Editorial Reviews

Amazon.com Review

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 --This text refers to an out of print or unavailable edition of this title.

Review

"In a nutshell, Perl is designed to make the easy jobs easy, without making the hard jobs impossible." -- Larry Wall, creator of Perl

Product Details

  • Paperback: 800 pages
  • Publisher: O'Reilly Media; Second Edition edition (June 2002)
  • Language: English
  • ISBN-10: 0596002416
  • ISBN-13: 978-0596002411
  • Product Dimensions: 9 x 6 x 1.4 inches
  • Shipping Weight: 2.1 pounds (View shipping rates and policies)
  • Average Customer Review: 3.8 out of 5 stars  See all reviews (25 customer reviews)
  • Amazon Best Sellers Rank: #373,701 in Books (See Top 100 in Books)

More About the Authors

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

 

Customer Reviews

25 Reviews
5 star:
 (12)
4 star:
 (4)
3 star:
 (3)
2 star:
 (4)
1 star:
 (2)
 
 
 
 
 
Average Customer Review
3.8 out of 5 stars (25 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

18 of 19 people found the following review helpful:
2.0 out of 5 stars Missing basic syntax rules. I wonder if the authors use Perl, April 29, 2002
By 
S. Weaver (Stone Mountain, GA United States) - See all my reviews
(REAL NAME)   
This review is from: Perl in a Nutshell (Paperback)
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, <STDIN>, 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.

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


16 of 17 people found the following review helpful:
1.0 out of 5 stars Annoyingly Inconsistent and Incomplete, August 10, 2000
By 
This review is from: Perl in a Nutshell (Paperback)
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.

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


12 of 13 people found the following review helpful:
5.0 out of 5 stars I've used Perl for several years and love this book, May 2, 2004
This review is from: Perl in A Nutshell: A Desktop Quick Reference (2nd Edition) (Paperback)
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.

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)
standard modules, shortcut properties, geometry managers, special variables, directory manager, perltie manpage, internal function implementing, current filehandle, cookie jar object, special filehandle, method returns undef, more directory names, selected filehandle, current console window, variable containing text, specified filehandle, allocation rectangle, scalar context, standard configuration options, slave window, pod text, netrc file, tied hash, external padding, canvas widget
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Function Reference, Email Connectivity, Usenet News, Internet Functions, Window System, Calls the System, Hello World, Lightweight Directory Access, The Canvas Widget, Perl Mongers, Causes Perl, Larry Wall, Programming Perl, File Tied, Function Description, Code Meaning, Section Description, Code Matches, While Perl, Web Server Programming, Modifier Meaning, Method Description, Field Description, Switch Function, Perl Version
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:

Citations (learn more)
1 book cites this book:

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.
 
(4)
(1)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

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



So You'd Like to...



Look for Similar Items by Category


Look for Similar Items by Subject