Book review: Wicked Cool Perl Scripts by Steve Oualline
Download the whole article as PDF
Short URL: http://fsmsh.com/1384
- 2006-04-20
- Published on web | Easy
-
Write a full post in response to this!
Every GNU/Linux administrator will need to touch a Perl script or two at some point. Perl seems to be the scripting glue of choice since it has matured so well over the years. As a result, administrators can choose from many different Perl books. One such book is Wicked Perl Scripts by Steve Oualline and published by No Starch Press.
Oualline includes 47 different Perl scripts, ranging from a simple 11-line script to use perldoc to a whopping 769-line regular expression image creator. Each script includes a section for the code, command-line usage, sample output, an explanation of the script, and possible hacks you might want to perform on it.
This is not your typical Perl book
The contents
Wicked Perl Scripts is divided into 11 chapters (47 scripts), containing general purpose utilities, website management, CGI processing, data mining, UNIX system administration, image manipulation, games and learning, development, mapping, and finally the regular expression grapher. There are a few nifty scripts in the UNIX system administration section, including a nice, manual user-creation utility, and a process killer. Another nice section is the regular expression grapher. This chapter shows you how to create a Perl script to process a regular expression text string, and convert it into a decent-looking, state-based graphic. In other words, you will get a PNG file with nodes representing each node, repeats, and backtracks in the regular expression.
I found some of the scripts to be very specific solutions to some rather unique issues. For example, the author has one script (#35) where, when a key is pressed, a particular image is displayed and sound is played to entertain his toddler. Another large section of the book is dedicated to downloading and processing United States Geological Survey (USGS) topographical maps. This is not your typical Perl book.
Who is this book for?
Wicked Perl Scripts would be great for a Perl programmer who has a flair for unique issues, such as creating a mapping application, or in the words of the author, “hacking the Grand Canyon”. As opposed to a cookbook, Wicked Perl Scripts contains complete applications, not just building block code snippets. Someone who might work with some of these application topics might enjoy this book. However, someone looking to use ideas from this book to write a different type of script might find it more difficult.
While the 336 pages of the book contains a lot of gems, I would strongly suggest checking out the table of contents to see if any of these scripts really interest you before picking this book up.
Relevance to free software
The book really follows a system-independent view of Perl. In accessing the command-line version of ps, the author pointed out that command-line options might be different on other platforms. In discussing Perl, there was no mention of using non-free software modules.
Pros
The author’s writing style is enjoyable and easy to read. He includes some interesting tangent comments that kept me interested.
This would be great for you if you are interested in applying Perl to mapping or topography. The mapping application and other functions (such as printing off custom maps) would probably be worth the cost of buying your own maps.
It also contains a fantastic regular expression grapher, which would be found very useful by anyone who works with complex regular expressions. It allows you to really visualize what your expression says.
Cons
I found that some of the topics presented were very specific. While other Perl books talk about potential uses for a particular script or snippet, this book gives concrete and complete examples. Although in many ways this point can be considered a “pro”, it also limits the likelihood that you would use the book as a reference and return to it after implementing its solutions.
| Title | Wicked Perl Scripts |
| Author | Steve Oualline |
| Publisher | No Starch Press |
| ISBN | 1593270623 |
| Year | 2006 |
| Pages | 336 |
| CD included | No |
| FS Oriented | 10 |
| Over all score | 7 |
In short
Write a full post in response to this!
Similar articles
Do you like this post?
Vote for it!
Copyright information
This article is made available under the "Attribution-NonCommercial" Creative Commons License 3.0 available from http://creativecommons.org/licenses/by-nc/3.0/.
Biography
Jeremy Turner: Jeremy Turner enjoys freelance writing when given the opportunity. He often plays system administrator, hardware technician, programmer, web designer, and all-around nice guy. You contact him by visiting his web site.
- Login or register to post comments
- 6230 reads
- Printer friendly version (unavailable!)




Two fantastic free software companies that make Free Software Magazine possible:
Buzz authors
Free Software news
- I ♥ reading planets - nothing better to get "inside" #freesoftware communities like !ubuntu http://ur1.ca/1uu6 or !gnome http://ur1.ca/6q3c
- autohokey, autohotkey download, free script, Free Software, 매크로, 매크로프로그램, 무료프로그램, 오토핫키, 유용한 프로그램, 좋은 유틸리티, 추천 매크로, 추천 유틸리티, 추천스크립트
- Two More Bills in the SCO Bankruptcy and Some Trademark Oddities
- Psystar Files Motion to Leave Chapter 11
- Swiss court: Gov can buy M$ licenses, but has to be aware of risk that contracts could be declared void during main process !freesoftware
Similar entries
Other sites
- The Top 10 Everything (Dave). The good, the bad and the ugly.
- Free Software news (Dave & Bridget). All about free software -- free as in freedom!
- Book Reviews: Illiterarty (Bridget). Book reviews, blogs, and short stories.
Hot topics - last 60 days
-
2009: software installation in GNU/Linux is still broken -- and a path to fixing it
Tony Mobily, 2009-06-23 -
The Bizarre Cathedral - 44
Ryan Cartwright, 2009-06-08 -
Free Software Magazine caught in the 3fn shutdown crossfire
Tony Mobily, 2009-06-05 -
Is Android the key to the GNU/Linux desktop? Really?
Tony Mobily, 2009-06-12 -
The Bizarre Cathedral - 45
Ryan Cartwright, 2009-06-15
Hot topics - last 21 days
-
2009: software installation in GNU/Linux is still broken -- and a path to fixing it
Tony Mobily, 2009-06-23 -
The Bizarre Cathedral - 45
Ryan Cartwright, 2009-06-15 -
Will Google Wave revolutionise free software collaboration?
Ryan Cartwright, 2009-06-15 -
The Bizarre Cathedral - 46
Ryan Cartwright, 2009-06-22

Paying over 13 dollars for what you can get for free!
Submitted by johnmsneed on Mon, 2006-05-01 17:42.
Vote!Over the years, when ever I've needed a pearl script I have always been able to find them online for free to do what ever I needed them to do at the time. Today is no diffrent, unless you want to pay for free scripts thats entirely up to you! All you have to do is Google search for "free pearl scripts" and it will give you quite a few diffrent sites. Sincerely, John Sneed... SERVANT OF GOD.
Life saver for Perl Programmer
Submitted by ListenLocally on Sat, 2006-05-13 16:32.
Vote!This book is really life saver for Perl Programmer. The script are so well written. The explanations are easy to understand. Coder can use it to improve his skill vastly.
i'm disguted by his kind
Submitted by Anonymous visitor on Mon, 2007-03-05 19:48.
Vote!johnmsneed is a typical *****, no relevance to the topic at hand
I found the book to be useful for both beginners and experts alike.