Perl in a Nutshell

Authors: Ellen Siever, Stephen Spainhour and Nathan Patwardhan
Publisher: O'Reilly & Associates
E-mail: info@ora.com
URL: http://www.ora.com/
Price: $24.95
ISBN: 1565922867
Reviewer: Jan Rooijackers
A quick stroll through the book gave me the impression that much time was spent putting it together. The book is divided into eight parts, each containing one or more chapters.
Chapter 1 is a small but very useful chapter. It explains how Perl can be used and which platforms support it. The most important paragraph in this chapter is “Perl Resources”. All well-known resources are mentioned here: newsgroups, FAQs (frequently asked questions), web pages and other books from the publisher.
Now that you know how to get Perl, it is time you got it installed. Specific installation topics like installing modules and documentation are explained in Chapter 2.
In Chapter 3, the Perl interpreter and its options are explained from command-line to environment variables. Chapter 4 explains the program structure. This chapter and the following one are good references for anyone already familiar with Perl or another programming language. If you are totally new to programming and you want to learn Perl, the book Learning Perl (Randal L. Swartz and Tom Christianson, also from O'Reilly) might be a better place to start.
Chapter 5 gives brief descriptions of the built-in functions. Each description covers the syntax of the function, with the types and order of its arguments. Since no one writes perfect code all the time, the debugger is explained with its various options. Packages, modules and objects are discussed in chapters 7 and 8. A short explanation and an example give you a good idea of how each standard module, delivered with Perl, is used.
CGI is covered in chapters 9 through 11. I feel this section will be used the most, because CGI together with the Internet is such a hot item. Many web pages make use of CGI scripts.
Chapter 11 discusses the useful things which can be done by mod_perl as it merges Perl into the Apache web server. This module will reduce the forking of extra processes each time a script is executed. Installing this module and making use of its capabilities can speed up execution on the server.
Chapter 12 explains the connection between databases and Perl. Databases are also a hot item on the Internet these days. DBM (database management) and DBI (database interface) are covered in this chapter.
Network topics such as sockets, e-mail, news, FTP and LWP (library for web access in Perl) are discussed in part six. Each chapter starts with a short description of the service, followed by the key words in alphabetical order along with their uses.
Perl/Tk is discussed in Chapter 18. I did some design work with Tcl/Tk in the past, and was amazed at how easy it was to get something done. With Perl and Tk, it is even simpler. Using the examples, you can quickly design some nice things.
The last chapter covers Win32 modules and extensions. With the information provided in this chapter, you could create some nice things in the Microsoft world.
The index may be the most important part of a book, in my opinion. A bad index will cost you time when searching for topics in a book. This index is so complete, you will easily find any desired information.
This book was hard to review, because it is a reference guide. One thing is clear: the authors have made it a good reference guide. This book is a must for people who already know Perl and want to learn more. The information you need is easy to find and understand due to clearly written text and good examples.

Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Designing Electronics with Linux | May 22, 2013 |
| Dynamic DNS—an Object Lesson in Problem Solving | May 21, 2013 |
| Using Salt Stack and Vagrant for Drupal Development | May 20, 2013 |
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
- Linux Systems Administrator
- New Products
- Senior Perl Developer
- Technical Support Rep
- UX Designer
- Web & UI Developer (JavaScript & j Query)
- Designing Electronics with Linux
- Dynamic DNS—an Object Lesson in Problem Solving
- Using Salt Stack and Vagrant for Drupal Development
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
Enter to Win an Adafruit Pi Cobbler Breakout Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Pi Cobbler Breakout Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- 5-21-13, Prototyping Pi Plate Kit: Philip Kirby
- Next winner announced on 5-27-13!
Featured Jobs
| Linux Systems Administrator | Houston and Austin, Texas | Host Gator |
| Senior Perl Developer | Austin, Texas | Host Gator |
| Technical Support Rep | Houston and Austin, Texas | Host Gator |
| UX Designer | Austin, Texas | Host Gator |
| Web & UI Developer (JavaScript & j Query) | Austin, Texas | Host Gator |
Free Webinar: Hadoop
How to Build an Optimal Hadoop Cluster to Store and Maintain Unlimited Amounts of Data Using Microservers
Realizing the promise of Apache® Hadoop® requires the effective deployment of compute, memory, storage and networking to achieve optimal results. With its flexibility and multitude of options, it is easy to over or under provision the server infrastructure, resulting in poor performance and high TCO. Join us for an in depth, technical discussion with industry experts from leading Hadoop and server companies who will provide insights into the key considerations for designing and deploying an optimal Hadoop cluster.
Some of key questions to be discussed are:
- What is the “typical” Hadoop cluster and what should be installed on the different machine types?
- Why should you consider the typical workload patterns when making your hardware decisions?
- Are all microservers created equal for Hadoop deployments?
- How do I plan for expansion if I require more compute, memory, storage or networking?




5 hours 23 min ago
9 hours 55 min ago
9 hours 56 min ago
11 hours 56 min ago
20 hours 41 min ago
21 hours 15 min ago
22 hours 14 min ago
23 hours 4 min ago
1 day 3 hours ago
1 day 6 hours ago