Book Review: Perl One-Liners - 130 Programs That Get Things Done By Peteris Krumins
December 31, 2013 at 12:30 PM | categories: Book review | View Comments"Perl One-Liners - 130 Programs That Get Things Done By Peteris Krumins"; No Starch Press
Want to stock up on a bag of tricks and snippets to get your work done quicker, this is the book for you. Either as a system admin or as a developer you do yourself a great deal of good by reading and grasping the one liners in this book.
Perl being specifically designed to process text is an invaluable tool to Unix admins given that everything is a file on Unix.
The book provides 130 solid one lines which will enhance your arsenal of snippets or get you on the road to creating one.
The one liners are broken down into seven sections: Spacing, Numbering, Calculations, Arrays and Strings, Text conversion and Substitution, Selective printing and deletion, Regular expressions. There are two appendixes which over Perl's special variables and using the one liners in a Windows world.
Many of these one liners are drop in replacements of the piped commands with several Unix utilities that you have been using, which allows you to use a single tool in place of several chained commands.
The presentation style is great as all the one liners are explained and alternatives presented, in keeping with the Perl idiom "There is more than one way to do it"
Well what are you waiting for go out and get your copy now.
Product page http://shop.oreilly.com/product/9781593275204.do
blog comments powered by Disqus