Learning Perl

by
Edition: 5th
Format: Paperback
Pub. Date: 2008-07-01
Publisher(s): Oreilly & Associates Inc
List Price: $39.99

Rent Book

Select for Price
There was a problem. Please try again later.

Rent Digital

Rent Digital Options
Online:1825 Days access
Downloadable:Lifetime Access
$38.39
*To support the delivery of the digital material to you, a digital delivery fee of $3.99 will be charged on each digital item.
$38.39*

New Book

We're Sorry
Sold Out

Used Book

We're Sorry
Sold Out

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

Learning Perl, popularly known as "the Llama," is the book most programmers rely on to get started with Perl. The bestselling Perl tutorial since it was first published in 1993, this new fifth edition covers recent changes to the language up to Perl 5.10. This book reflects the combined experience of its authors, who have taught Perl at Stonehenge Consulting since 1991. Years of classroom testing and experience helped shape the book's pace and scope, and this edition is packed with exercises that let you practice the concepts while you follow the text. Topics include: Perl data & variable types Subroutines File operations Regular expressions String manipulation Lists & sorting Process management Smart matching Using third party modulesPerl is the language for people who want to get work done. Originally targeted to sysadmins for heavy-duty text processing, Perl is now a full-featured programming language suitable for almost any task on almost any platform-from short fixes on the command line to web applications, bioinformatics, finance, and much more. Other books may teach you to program in Perl, but this book will turn you into a Perl programmer.

Author Biography

Randal L. Schwartz is a two-decade veteran of the software industry. He is skilled in software design, system administration, security, technical writing, and training. Randal has coauthored the "must-have" standards: Programming Perl, Learning Perl, Learning Perl for Win32 Systems, and Effective Perl Learning, and is a regular columnist for WebTechniques, PerformanceComputing, SysAdmin, and Linux magazines.

He is also a frequent contributor to the Perl newsgroups, and has moderated comp.lang.perl.announce since its inception. His offbeat humor and technical mastery have reached legendary proportions worldwide (but he probably started some of those legends himself). Randal's desire to give back to the Perl community inspired him to help create and provide initial funding for The Perl Institute. He is also a founding board member of the Perl Mongers (perl.org), the worldwide Perl grassroots advocacy organization. Since 1985, Randal has owned and operated Stonehenge Consulting Services, Inc. Randal can be reached for comment at merlyn@stonehenge.com or (503) 777-0095, and welcomes questions on Perl and other related topics.

Tom Phoenix has been working in the field of education since 1982. After more than thirteen years of dissections, explosions, work with interesting animals, and high-voltage sparks during his work at a science museum, he started teaching Perl classes for Stonehenge Consulting Services, where he's worked since 1996. Since then, he has traveled to many interesting locations, so you might see him soon at a Perl Mongers' meeting. When he has time, he answers questions on Usenet's comp.lang.perl.misc and comp.lang.perl.moderated newsgroups, and contributes to the development and usefulness of Perl. Besides his work with Perl, Perl hackers, and related topics, Tom spends his time on amateur cryptography and speaking Esperanto. His home is in Portland, Oregon.

brian d foy has been an instructor for Stonehenge Consulting Services since 1998, a Perl user since he was a physics graduate student, and a die-hard Mac user since he first owned a computer. He founded the first Perl user group, the New York Perl Mongers, as well as the Perl advocacy nonprofit Perl Mongers, Inc., which helped form more than 200 Perl user groups across the globe. He maintains the perlfaq portions of the core Perl documentation, several modules on CPAN, and some stand-alone scripts. He's the publisher of The Perl Review, a magazine devoted to Perl, and is a frequent speaker at conferences including the Perl Conference, Perl University, MarcusEvans BioInformatics '02, and YAPC. His writings on Perl appear in The O'Reilly Network, The Perl Journal, Dr. Dobbs, and The Perl Review, on use.perl.org, and in several Perl usenet groups.

Table of Contents

Prefacep. xi
Introductionp. 1
Questions and Answersp. 1
What Does "Perl" Stand For?p. 4
How Can I Get Perl?p. 8
How Do I Make a Perl Program?p. 12
A Whirlwind Tour of Perlp. 16
Exercisesp. 17
Scalar Datap. 19
Numbersp. 19
Stringsp. 22
Perl's Built-in Warningsp. 26
Scalar Variablesp. 27
Output with printp. 29
The if Control Structurep. 33
Getting User Inputp. 34
The chomp Operatorp. 35
The while Control Structurep. 36
The undef Valuep. 36
The defined Functionp. 37
Exercisesp. 38
Lists and Arraysp. 39
Accessing Elements of an Arrayp. 40
Special Array Indicesp. 41
List Literalsp. 41
List Assignmentp. 43
Interpolating Arrays into Stringsp. 46
The foreach Control Structurep. 47
Scalar and List Contextp. 49
[left angle bracket]STDIN[right angle bracket] in List Contextp. 52
Exercisesp. 54
Subroutinesp. 55
Defining a Subroutinep. 55
Invoking a Subroutinep. 56
Return Valuesp. 56
Argumentsp. 58
Private Variables in Subroutinesp. 60
Variable-Length Parameter Listsp. 60
Notes on Lexical (my) Variablesp. 63
The use strict Pragmap. 64
The return Operatorp. 65
Nonscalar Return Valuesp. 67
Persistent, Private Variablesp. 68
Exercisesp. 69
Input and Outputp. 71
Input from Standard Inputp. 71
Input from the Diamond Operatorp. 73
The Invocation Argumentsp. 75
Output to Standard Outputp. 76
Formatted Output with printfp. 79
Filehandlesp. 81
Opening a Filehandlep. 83
Fatal Errors with diep. 86
Using Filehandlesp. 88
Reopening a Standard Filehandlep. 90
Output with sayp. 90
Exercisesp. 91
Hashesp. 93
What Is a Hash?p. 93
Hash Element Accessp. 96
Hash Functionsp. 100
Typical Use of a Hashp. 103
The %ENV hashp. 104
Exercisesp. 105
In the World of Regular Expressionsp. 107
What Are Regular Expressions?p. 107
Using Simple Patternsp. 108
Character Classesp. 113
Exercisesp. 115
Matching with Regular Expressionsp. 117
Matches with m//p. 117
Option Modifiersp. 118
Anchorsp. 120
The Binding Operator, =
Table of Contents provided by Ingram. All Rights Reserved.

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.