Perl 5 by Example
Author: David Medinets
Price: $39.99 (includes CD-ROM)
Reviewer: Sid Wentworth
Now that Perl 5 has become the de facto standard version of Perl, publishers are getting their books to market as quickly as possible. In the case of Perl 5 by Example, it got there too quickly. Since I have C programming experience and have dabbled with Perl, I was looking for a book that would get me up to speed in a hurry, and learning by example seemed a good way to go.
Perl 5 by Example divides the learning of Perl into four sections: basic, intermediate, advanced and “Perl and the Internet”. The CD included with the book contains the Perl interpreter, all the examples from the book, the book itself, and two other Que books on Perl in HTML format. Each chapter contains review questions and exercises.
This approach is valid, but this book doesn't do a good job of implementation. There are a large number of simple mistakes in the text of the book that may confuse the novice. Examples of errors include spaces in the code that don't match the displayed results, the use, without explanation, of an arrow character to indicate continuation of text and the use of an incorrect technical word—“function” is used where “variable” is correct. There is also the tendency to make poor typographical decisions that could also confuse the novice, e.g., the use of different length hyphens to mean the same thing within a particular chart or the use of italic font in titles that make operator sequences like || appear as //.
Even though I was somewhat unhappy with the book itself, I went on to take a look at the CD. It unfortunately suffers from the same problems. For example, there are links to example files, but the files are not located where the links point.
From my point of view, another drawback is that the book is clearly written for a non-Unix person—maybe less that a non-Unix person. For example, explaining the case sensitivity of variable names seems strange—what language doesn't do this?
If the typographical shortcomings and general errors were corrected, Perl 5 by Example would be worth serious consideration—particularly if you were working with Perl on a Microsoft-based platform. For a Linux (or Unix) user, I would recommend looking for another book.
Sid Wentworth lives in Uzbekistan, where he divides his time between UUCP hacking and raising yaks.
Practical Task Scheduling Deployment
July 20, 2016 12:00 pm CDT
One of the best things about the UNIX environment (aside from being stable and efficient) is the vast array of software tools available to help you do your job. Traditionally, a UNIX tool does only one thing, but does that one thing very well. For example, grep is very easy to use and can search vast amounts of data quickly. The find tool can find a particular file or files based on all kinds of criteria. It's pretty easy to string these tools together to build even more powerful tools, such as a tool that finds all of the .log files in the /home directory and searches each one for a particular entry. This erector-set mentality allows UNIX system administrators to seem to always have the right tool for the job.
Cron traditionally has been considered another such a tool for job scheduling, but is it enough? This webinar considers that very question. The first part builds on a previous Geek Guide, Beyond Cron, and briefly describes how to know when it might be time to consider upgrading your job scheduling infrastructure. The second part presents an actual planning and implementation framework.
Join Linux Journal's Mike Diehl and Pat Cameron of Help Systems.
Free to Linux Journal readers.Register Now!
- SUSE LLC's SUSE Manager
- Murat Yener and Onur Dundar's Expert Android Studio (Wrox)
- Managing Linux Using Puppet
- My +1 Sword of Productivity
- Non-Linux FOSS: Caffeine!
- Doing for User Space What We Did for Kernel Space
- Google's SwiftShader Released
- SuperTuxKart 0.9.2 Released
- LiveCode Ltd.'s LiveCode
- Parsing an RSS News Feed with a Bash Script
With all the industry talk about the benefits of Linux on Power and all the performance advantages offered by its open architecture, you may be considering a move in that direction. If you are thinking about analytics, big data and cloud computing, you would be right to evaluate Power. The idea of using commodity x86 hardware and replacing it every three years is an outdated cost model. It doesn’t consider the total cost of ownership, and it doesn’t consider the advantage of real processing power, high-availability and multithreading like a demon.
This ebook takes a look at some of the practical applications of the Linux on Power platform and ways you might bring all the performance power of this open architecture to bear for your organization. There are no smoke and mirrors here—just hard, cold, empirical evidence provided by independent sources. I also consider some innovative ways Linux on Power will be used in the future.Get the Guide