By Tim Maher

No-nonsense and functional, but with wit and beauty. A pleasure to read.""
-Dan Sanderson, software program Developer, Amazon.com

""Shows type, not only facts-valuable.""
-Brian Downs, former education Director, Lucent applied sciences

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

""You may have selected no higher primer than this book.""
-Damian Conway, from the Foreword

Perl is a fancy language that may be tough to grasp. Perl advocates boast that ""There's a couple of option to Do It,"" yet do you actually need to benefit numerous methods of claiming a similar factor to a working laptop or computer?

To make Perl extra obtainable, Dr. Tim Maher has through the years designed and taught a vital subset of the language that's smaller, but functional and robust. With this attractive publication now you can take advantage of ""Minimal Perl,"" whether all you recognize approximately Unix is grep.

you'll tips on how to write uncomplicated Perl commands-many simply one-liners-that cross a ways past the constraints of Unix utilities, and people of Linux, MacOS/X, and so on. and you can gather the extra complicated Perl abilities utilized in scripts by way of capitalizing in your wisdom of comparable Shell assets. Sprinkled all through are many Unix-specific Perl suggestions.

This booklet is mainly compatible for method directors, site owners, and software program developers.

Show description

Read or Download Minimal Perl: For Unix and Linux People PDF

Similar Linux books

Linux: The Complete Reference, Sixth Edition

Your one-stop consultant to Linux--fully revised and expandedGet in-depth assurance of all Linux good points, instruments, and utilities from this completely up-to-date and entire source, designed for all Linux distributions. Written by way of Linux specialist Richard Petersen, this booklet explains tips on how to get up-and-running on Linux, use the pcs and shells, deal with functions, set up servers, enforce security features, and deal with procedure and community management projects.

RHCSA/RHCE Red Hat Linux Certification Study Guide, Seventh Edition (Exams EX200 & EX300)

In accordance with purple Hat firm Linux 7, the hot version of this bestselling examine consultant covers the up to date pink Hat qualified procedure Administrator (RHCSA) and pink Hat qualified Engineer (RHCE) tests. RHCSA/RHCE crimson Hat Linux Certification examine advisor, seventh version is totally revised to hide the lately published purple Hat company Linux 7 and the corresponding RHCSA and RHCE certification assessments.

The Official Ubuntu Book (7th Edition)

Matthew Helmke, Amber Graner, "The legitimate Ubuntu booklet, seventh Edition"
2012 | ISBN-10: 0133017605 | EPUB | 432 pages | 10 + 21 MB

Ubuntu is an entire, loose working approach that emphasizes ease of use, neighborhood, and help whereas bettering pace, energy, and adaptability. it's designed for everybody from machine newbies to experts.

This name serves a large viewers: beginners who simply are looking to attempt the waters and provides Ubuntu a test, intermediate clients, and those that are looking to take the next move towards changing into energy clients. it's not meant as a advisor to hugely technical makes use of like expert platforms management or programming, even though there's a few technical fabric right here; the point of interest is on studying the landscape.

New during this variation is deep insurance of the groundbreaking, user-experience-focused solidarity computer, an leading edge new variety of human—computer interplay that has passed through large improvement and checking out to supply strong, industry-leading usability.

In addition, you will
Learn the best way to use and customise Ubuntu for domestic, small enterprise, institution, executive, and firm environments
Learn find out how to speedy replace Ubuntu to generation types with upgraded applications
Find up to date troubleshooting recommendation from Ubuntu clients all over the world to get the assistance you would like quickly
Learn Ubuntu Server install and management, together with LVM and RAID implementation

The Penguin and the Leviathan: How Cooperation Triumphs over Self-Interest

What do Wikipedia, Zip Car’s enterprise version, Barack Obama's presidential crusade, and a small workforce of lobster fishermen have in universal? all of them exhibit the ability and promise of human cooperation in remodeling our companies, our govt, and our society at huge. simply because this present day, whilst the prices of participating are less than ever sooner than, there are not any limits to what we will be able to in achieving via operating jointly.

Extra info for Minimal Perl: For Unix and Linux People

Show sample text content

As a result, the perfect way to writing a uncomplicated filter out software in Perl is the next, which makes use of the n choice: perl -wnl -e 'print;' dossier file2 # OPTIMALLY basic! the great thing about this model is that it permits you to specialise in the filtering being carried out within the application, which therefore is not any filtering at all—the software simply prints each 7 There are instances the place it is sensible to write down your individual loops in Perl, as proven in bankruptcy 10, yet this isn’t considered one of them. WRITING ONE-LINE courses thirteen line it reads. That’s effortless to determine if you happen to aren’t distracted via a dozen traces of boilerplate input-reading code, as you have been with the scripted similar proven previous. the place did the whereas loop pass? It’s nonetheless there, yet it’s invisible, as the n alternative tells Perl, “Insert the standard input-reading loop for this Lazy programmer, without automated printing of the enter strains. ” A fuller rationalization of ways the n choice works is given in bankruptcy 10. in the mean time, simply keep in mind that it allows you to ignore the mundane info of enter processing so that you can be aware of the duty handy. think it or now not, there’s the way to write a cat-like software in Perl that includes even much less typing: perl -wpl -e '' dossier file2 # OVERLY basic! by means of now, you’re most likely considering that Perl’s attractiveness in a few circles as a write-only language (i. e. , one no one can learn) should be good deserved. That’s comprehensible, and we’ll go back to this subject in a second. yet first, let’s speak about how this software works—which definitely isn’t visible. The p alternative requests the standard input-reading loop, yet with computerized printing of every enter line after it's been processed. as a consequence, no processing is designated, simply because there’s no application among these fees. but it nonetheless works, as the p alternative offers the fundamental cat-like habit of printing each one enter line. This bizarrely cryptic resolution is, frankly, a case of taking a very good factor too a ways. It’s the type of coding which may lead IT managers to wonder if Larry has a screw free somewhere—and to pray their rivals will lease as many Perl programmers as they could locate. after all, it’s unwise to force your colleagues loopy, and tarnish your recognition, via writing courses that seem to be grossly defective—even in the event that they paintings! consequently, the optimally uncomplicated shape proven formerly with the n choice and the categorical print assertion is the method used for many filter out courses in minimum Perl. 1. 7 precis As illustrated through the Traveler’s story firstly of this bankruptcy, and the cat-like clear out courses we tested later, the Perl programmer usually has the alternative of writing a fancy or an easy software to address a selected activity. you should use this adaptability to create courses that variety from minor masterpieces of inscrutability—because they’re so tiny and mysterious—to significant masterpieces of verbosity—because they’re so voluminous and long-winded. The Perl subset I name minimum Perl avoids courses at either ends of that spectrum, simply because they can’t be quite simply understood or maintained, and there are consistently concise but readable choices which are extra prudent offerings.

Rated 4.93 of 5 – based on 14 votes