25 Books to Read Before You Die
 
 

Recently Viewed clear list


The Powell's Playlist | August 6, 2014

Graham Joyce: IMG The Powell’s Playlist: Graham Joyce



The Ghost in the Electric Blue Suit is set on the English coast in the hot summer of 1976, so the music in this playlist is pretty much all from the... Continue »
  1. $17.47 Sale Hardcover add to wish list

spacer
Qualifying orders ship free.
$24.95
New Trade Paper
Ships in 1 to 3 days
Add to Wishlist
available for shipping or prepaid pickup only
Qty Store Section
25 Local Warehouse General- General
25 Remote Warehouse Computer Languages- General

Perl One-Liners: 130 Programs That Get Things Done

by

Perl One-Liners: 130 Programs That Get Things Done Cover

 

Synopses & Reviews

Publisher Comments:

Part of the fun of programming in Perl lies in tackling tedious tasks with short, efficient, and reusable code. Often, the perfect tool is the one-liner, a small but powerful program that fits in one line of code and does one thing really well.

In Perl One-Liners, author and impatient hacker Peteris Krumins takes you through more than 100 compelling one-liners that do all sorts of handy things, such as manipulate line spacing, tally column values in a table, and get a list of users on a system. This cookbook of useful, customizable, and fun scripts will even help hone your Perl coding skills, as Krumins dissects the code to give you a deeper understanding of the language.

You'll find one-liners that:

  • Encode, decode, and convert strings
  • Generate random passwords
  • Calculate sums, factorials, and the mathematical constants π and e
  • Add or remove spaces
  • Number lines in a file
  • Print lines that match a specific pattern
  • Check to see if a number is prime with a regular expression
  • Convert IP address to decimal form
  • Replace one string with another
And many more! Save time and sharpen you coding skills as you learn to conquer those pesky tasks in a few precisely placed keystrokes with Perl One-Liners.

Synopsis:

Perl one-liners are small and awesome Perl programs that fit in one line of code and do one thing really well. Perl One-Liners showcases 130 short and compelling lines of code that do all sorts of handy, geeky things like numbering lines in a file; generating random passwords; encoding, decoding, and converting strings; calculating factorials; even checking to see if a number is prime with a regular expression. Author Peteris Krumins' dissections of each bit of code will help you gain a deeper understanding of the Perl language, and these Perl one-liners are sure to save you time and sharpen your sleight of hand.

About the Author

Peteris Krumins is a programmer, systems administrator, start-up manager, and all-around hacker. He is the cofounder of Browserling and Testling, and he runs the popular programming blog catonmat.net.

Table of Contents

About the AuthorAbout the Technical ReviewerAcknowledgmentsChapter 1: Introduction to Perl One-LinersChapter 2: SpacingChapter 3: NumberingChapter 4: CalculationsChapter 5: Working With Arrays and StringsChapter 6: Text Conversion and SubstitutionChapter 7: Selectively Printing and Deleting LinesChapter 8: Useful Regular ExpressionsPerls Special VariablesUsing Perl One-Liners On WindowsPerl1Line.Txt

Product Details

ISBN:
9781593275204
Author:
Krumins, Peteris
Publisher:
No Starch Press
Subject:
Code;Perl;Perl snippets;automation;short code;systems administration;systems administrators
Subject:
Code;Perl;Perl snippets;automation;short code;systems administration;system
Subject:
s administrators
Edition Description:
Print PDF
Publication Date:
20131231
Binding:
TRADE PAPER
Language:
English
Pages:
168
Dimensions:
9 x 6 in

Other books you might like

  1. Lonely Planet World Food Morocco Used Trade Paper $4.95
  2. Enduring Cuba (Lonely Planet Journeys) Used Trade Paper $4.95
  3. Cajun French-English Dictionary &... Used Trade Paper $8.00
  4. Lonely Planet World Food Caribbean... Used Trade Paper $9.50
  5. Sed and Awk Pocket Reference (2nd... New Trade Paper $9.95
  6. Burmese Phrasebook (Lonely Planet... New Trade Paper $8.99

Related Subjects

Computers and Internet » Computer Languages » Perl
Computers and Internet » Computers Reference » System Administration
Computers and Internet » Software Engineering » Programming and Languages
Religion » Comparative Religion » General
Science and Mathematics » Mathematics » General

Perl One-Liners: 130 Programs That Get Things Done New Trade Paper
0 stars - 0 reviews
$24.95 In Stock
Product details 168 pages No Starch Press - English 9781593275204 Reviews:
"Synopsis" by ,

Perl one-liners are small and awesome Perl programs that fit in one line of code and do one thing really well. Perl One-Liners showcases 130 short and compelling lines of code that do all sorts of handy, geeky things like numbering lines in a file; generating random passwords; encoding, decoding, and converting strings; calculating factorials; even checking to see if a number is prime with a regular expression. Author Peteris Krumins' dissections of each bit of code will help you gain a deeper understanding of the Perl language, and these Perl one-liners are sure to save you time and sharpen your sleight of hand.

spacer
spacer
  • back to top
Follow us on...




Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and gifts — here at Powells.com.