Please Sign Up to Request This Product

Perl One-Liners

130 Programs That Get Things Done

You need to be an approved reviewer to request a product. Please sign up to request access or login to your account.

If you've already signed up and you haven't heard from us yet please email reviewers@oreilly.com and we will check on your request.

Description

Perl One-Liners showcases 130 short and compelling lines of code that do all sorts of handy, geeky things.

Reviews

On Feb 16 Dirk Deimeke wrote: Using Perl as Toolbox for the Command Line
The book is pretty good in showing what is possible with Perl on the command line, more exactly with one line of code. Concepts and command line constructs are repeated some times to get an idea about how to build an own line for your task. In case you are good in using Perl, you have no need for other tools like grep, sed or awk. Full Review  >

Rating: StarStarStarStarStar4.0

On Feb 11 Giuseppe Simpatia wrote: There’s More Than One Way To Do It
Perl one-liners is the quickest way to get a job done and this book offers 130 very interesting tasks that you can accomplish by using one-liners. Many of them definitely represent the most charming, elegant and brilliant way to do something and I found practicing these tasks really exciting. Quoting the author, “[…] Perl’s motto is There’s More Than One Way To Do It, which is abbreviated as TIMTOWTDI and pronounced Tim Toady[…]”. Reading this book you will learn “[…] Perl golfing, a sport that involves writing the shortest Perl program to get a task done”. Just like a golfer trying to put the ball in the hole with as few strokes as possible, perhaps with a single blow. Full Review  >

Rating: StarStarStarStarStar4.0

On Jan 2 Tuomo Kalliokoski wrote: Almost 5/5
This book is among one of the most useful ones. The title and the description describe the book perfectly. It is all about one-liners doing simple things fast and efficiently. Full Review  >

Rating: StarStarStarStarStar4.0

On Jan 2 Massimo Bonechi wrote: Review Perl One-Liners
Perl One-liners is a wonderful manual!!!! The author starts with simple example and finish with more complex. Perl is a quite simple language but it makes heavy use of special variables. Full Review  >

Rating: StarStarStarStarStar5.0

On Dec 31 Andrew Colin Kissa wrote: Book Review: Perl One-Liners - 130 Programs That Get Things Done By Peteris Krumins
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. Full Review  >

Rating: StarStarStarStarStar5.0

On Dec 11 Thomas Maher wrote: Book Review: Perl One Liners
This book can be read very quickly by experienced perl programmers who know about $_ and hashes and lists and single quotes and backslashes. Less experienced users can probably use it to get work done fast. Non-programmers and aspiring not-yet-programmers can probably learn very efficiently using this book. Many of these one-liners are outright programs that could run to dozens or hundreds of lines of code. The density can reveal many problems being addressed on one line--open file, read line, process line, do some other stuff, save file. All on one line! Seriously, folks, CompSci 101 courses might be more fun with a book like this (instead of the standard C++ tome). Full Review  >

Rating: StarStarStarStarStar5.0

On Dec 5 Nitin K Sookun wrote: Perl One-Liners
Perl One-liners is a beautifully written manual, if I can call it like that, that empowers sysadmins with a Swiss Army knife to get dirty jobs done. The author starts with simple one-liners that cater for common tasks like searching, replacing or identifying blocks of texts. He goes ahead mixing various components of regular expression to tackle more complex situations. I enjoyed the way the author started with simple one-liners teaching something out of the beauty of Perl & making the most by the end to the book for admins to write beautiful scripts. Full Review  >

Rating: StarStarStarStarStar4.0

On Dec 3 Kieran Barry wrote: Perl One-Liners by Peteris Krumins
This book shows the undisputed king of one-line programs in it's full Swiss-Army-Chainsaw glory. It's well written by an obvious fan of the language, and skillfully disguises a tutorial in the language. So why four stars? Well, there's that "130 programs" thing. There's a significant amount of overlap between different recipes... Full Review  >

Rating: StarStarStarStarStar4.0

Receive free ebooks and videos in exchange for your reviews.

Join the O'Reilly Reader Review Program

Learn more >

Returning?

Top Reviewers

Michal Konrad Owsiak, 93 Reviews

Santosh Shanbhag, 58 Reviews

Surachart Opun, 57 Reviews

Doron Katz, 56 Reviews

Shawn Day, 55 Reviews

See More Reviewers >

Featured Review

CSS Fonts

Tony Dunsworth wrote:
Developers should buy this book
In the course of 60 pages, this book covers every font selector in CSS and… Full Review >

Rating: StarStarStarStarStar5.0