Vous voulez voir cette page en français ? Cliquez ici.

Sign in to turn on 1-Click ordering.
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Minimal Perl: For Unix and Linux People [Paperback]

Tim Maher

List Price: CDN$ 58.99
Price: CDN$ 28.21 & FREE Shipping. Details
You Save: CDN$ 30.78 (52%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 1 left in stock (more on the way).
Ships from and sold by Amazon.ca. Gift-wrap available.
Want it delivered Monday, November 24? Choose One-Day Shipping at checkout.
Amazon.ca Editors' 25 Best Books of the Year
Best Books of 2014
Unruly Places, Alastair Bonnett’s tour of the world’s most unlikely micro-nations, moving villages, secret cities, and no man’s lands, is our #1 pick for 2014. See all

Book Description

Oct. 1 2006
No-nonsense and practical, yet with wit and charm. A joy to read.""
-Dan Sanderson, Software Developer, Amazon.com

""Shows style, not just facts-valuable.""
-Brian Downs, former Training Director, Lucent Technologies

""Brilliant, never tedious-highly recommended!""
-Jon Allen, Maintainer of perldoc.perl.org

""You could have chosen no better primer than this book.""
-Damian Conway, from the Foreword

Perl is a complex language that can be difficult to master. Perl advocates boast that ""There's More Than One Way To Do It,"" but do you really want to learn several ways of saying the same thing to a computer?

To make Perl more accessible, Dr. Tim Maher has over the years designed and taught an essential subset of the language that is smaller, yet practical and powerful. With this engaging book you can now benefit from ""Minimal Perl,"" even if all you know about Unix is grep.

You will learn how to write simple Perl commands-many just one-liners-that go far beyond the limitations of Unix utilities, and those of Linux, MacOS/X, etc. And you'll acquire the more advanced Perl skills used in scripts by capitalizing on your knowledge of related Shell resources. Sprinkled throughout are many Unix-specific Perl tips.

This book is especially suitable for system administrators, webmasters, and software developers.

Customers Who Bought This Item Also Bought

Product Details

  • Paperback: 464 pages
  • Publisher: Manning Publications; 1 edition (Oct. 1 2006)
  • Language: English
  • ISBN-10: 1932394508
  • ISBN-13: 978-1932394504
  • Product Dimensions: 18.7 x 2.7 x 23.4 cm
  • Shipping Weight: 839 g
  • Amazon Bestsellers Rank: #678,111 in Books (See Top 100 in Books)

Product Description

About the Author

Tim Maher has worked for U.C. Berkeley as a senior programmer/analyst, for the University of Utah as a professor of computer science, and for AT&T, DEC, Sun Microsystems, Hewlett Packard, and Consultix as a course developer and/or lecturer on operating systems and programming languages. He founded Seattle's SPUG, one of the oldest, largest, and most active Perl users groups and served as its leader for its first six years. He serves on the Advisory Board of the University of Washington that oversees its Perl Certificate Program, and has led discussions in the Perl community about the development of a certification process for Perl programmers. He lives in Seattle, Washington.

Inside This Book (Learn More)
Explore More
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index
Search inside this book:

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Reviews

There are no customer reviews yet on Amazon.ca
5 star
4 star
3 star
2 star
1 star
Most Helpful Customer Reviews on Amazon.com (beta)
Amazon.com: 4.5 out of 5 stars  14 reviews
16 of 16 people found the following review helpful
4.0 out of 5 stars Great Unix Data Wrangling Cookbook and Reference Oct. 22 2006
By Jeremy Mates - Published on Amazon.com
Minimal Perl concerns itself with Perl one liners and quick scripts used to find, alter, and display data on Unix systems. The many examples show how Perl can both work with and exceed the existing Unix tools, and show a wide range of tasks: log scanning, finding and replacing data in multiple files, calculations to prove Seattle receives less rain than New York, and more. I consider myself adept on the Unix command line, though learned several new commands and best practices from this text.

The text includes many helpful tables. These illustrate Perl features and syntax, often in comparison to the Unix utilities grep, sed, and awk. The comparison tables also detail the different flavors of these utilities (classic, POSIX, and GNU). The text discusses commands used in the 1970s, and how the utilities have improved with the introduction of awk, Perl, and the GNU tools, which in turn borrow features from Perl. Other tables show problem solving commands, illustrating how different problems would be solved with grep, sed, awk, or Perl.

Recommended to those who do or want to spend time wrangling data on Unix. The text assumes a fair amount of Unix knowledge. If weak on Unix, first read "Learning the bash Shell" to learn a Unix shell. The second part of Minimal Perl covers Perl programming, which may obviate the need for "Learning Perl" or similar introductory Perl text.
20 of 21 people found the following review helpful
5.0 out of 5 stars Good as more than just a Perl introduction Feb. 5 2007
By Kindle Customer - Published on Amazon.com
This book is being promoted as a Perl introduction for those who are already familiar with other popular shell tools such as grep, sed, and awk. I can't vouch for how useful it is in that context, although the quality of material and delivery style probably make it a good resource.

I came at the book from a different angle. Perl is familiar, but the other shell tools aren't. I started exploring Linux and UNIX when the GUI shells were starting to become useful in their own right and find/grep/sed/awk didn't seem as important. Perl has largely been an application programming language for me, so I never learned more than the barest hint of its scripting power. There is a huge "shell scripting tool" shaped hole in my Perl and UNIX knowledge.

"Minimal Perl" has been rapidly filling that gap. Even the first 20 pages were enlightening - they showed information on some of the more useful command-line options to Perl along with plentiful examples. Remember that for the last nine years "perl" eq "application language" in my head. The only command line options I cared about were -w and -T, and I stopped caring about -w when 5.6 was released. My new understanding of -l, -n, and -p meant that I could suddenly whip out a quick one-liner for a simple task, rather than write too many lines of C-style code for the same job.

I have been bouncing through the book as I find one of my needs matched by a chapter subject, but the rest of the book has been more of the same. You practice using Perl in combination with other shell tools and then as a complete replacement for those tools. The concepts from this book have saved my [...] a few times already, as I was able to combine them with my existing knowledge of Perl to find and fix code issues quickly.

The writing style is enjoyable. "Minimal Perl" is written in a relaxed, light-hearted manner which still manages to convey thoughts very clearly. You will learn a lot about the differences between Perl and the shell tools, even if you weren't that familiar with the shell tools in the first place. You will learn about the author's almost unhealthy love of AWK before he discovered Perl. More importantly, you'll learn how to use Perl as more than an awkward replacement for C++.

The physical layout of the book is first-rate, which I have come to expect from Manning. The font is large and readable. The book is printed on good thick paper, which matters more than I would have thought. The tables and code samples are easy to find, although I would have appreciated a table listing in the table of contents. After double-checking through this book while writing the review, that's the only complaint I was able to come up with: a table listing would be nice. [...]

I recommend this book to anyone who knows Perl but hasn't used it to do any dirty work in the shell. This will have an impact on when and how you use Perl.
16 of 17 people found the following review helpful
5.0 out of 5 stars Well Worth The Time And Money April 24 2007
By Amazon Customer - Published on Amazon.com
Like some others, I abandoned Perl years ago, in part because I objected to its lack of object orientation.

This book has brought be back, but only for certain purposes. The author shows how one-line Perl commands can perform tasks for which one might otherwise use sed or grep. In many cases the Perl command includes additional features not always found in the equivalent Unix command.

I have found this book invaluable in helping me to automate maintenance tasks on my website.

Yes, Perl 6 (object oriented Perl running in a virtual machines) is five or six years late, but when you are writing one-liners you don't need objects anyway.

Perhaps the world has gone overboard on this object-oriented thing. If you are like me and had abandoned Perl consider returning to it for certain tasks with the aid of Minimal Perl.
5 of 5 people found the following review helpful
5.0 out of 5 stars Very Effective and Potent July 2 2007
By Joaquin Menchaca - Published on Amazon.com
One thing I really loved about this book is that it is short and sweet, well written, clear. It covers extremely popular functionality (text search, text manipulation, column/field manipulation, file search) in Perl as it compares to the popular tools: grep, sed, awk, and find (including extended and GNU varieties). It documents how to do the equivalent in Perl, but also covers the advantages and disadvantages in doing these chores Perl. The coverage is really well written.

What really struck me personally, is that for a long time, I was baffled about why there was no simple way to extract columns or fields from fixed-width data. I used regular expression or split in Perl, which I thought was overkill. Unix has simple mechanisms using cut and awk for this, and after many hours scouring the net and published books, I couldn't find any coverage of a simple solution, until I came across this book.

If you do any automation on Unix (or even Windows) that requires extracting or manipulating text data, this book is an ultimate resource for your library. Anyone serious about Perl and/or system administration type of chores, should not pass this book up.
4 of 4 people found the following review helpful
5.0 out of 5 stars The unix way, perl style Sept. 13 2007
By Zubin Madon - Published on Amazon.com
Format:Paperback|Verified Purchase
The cw tells you to not to use perl when traditional commands will do, but this book tosses that aside. It thoroughly covers several use cases where perl really does a better job. In addition, by switching from sed, grep, awk, and so forth completely to perl, you don't have to think as much of syntax stuff each time you run a command. One of the first things that sold me was eliminating the common stack of greps, and replacing it with a single line of perl.

The book is also well written and enjoyable. You should have some basic abilities in perl or unix/linux, but it provides a lot of introductory material that is specific to this book's idiom of minimal perl. If you have questions about the book, the publisher provides a forum to ask the author.

If you believe in the unix way, but are sometimes frustrated by whichever unix you use, or especially if you switch between unices, this book offers a way to cure that frustration.

Look for similar items by category