
Learning Perl
by Schwartz, Randal L.Rent Book
Rent Digital
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
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
Preface | p. xi |
Introduction | p. 1 |
Questions and Answers | p. 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 Perl | p. 16 |
Exercises | p. 17 |
Scalar Data | p. 19 |
Numbers | p. 19 |
Strings | p. 22 |
Perl's Built-in Warnings | p. 26 |
Scalar Variables | p. 27 |
Output with print | p. 29 |
The if Control Structure | p. 33 |
Getting User Input | p. 34 |
The chomp Operator | p. 35 |
The while Control Structure | p. 36 |
The undef Value | p. 36 |
The defined Function | p. 37 |
Exercises | p. 38 |
Lists and Arrays | p. 39 |
Accessing Elements of an Array | p. 40 |
Special Array Indices | p. 41 |
List Literals | p. 41 |
List Assignment | p. 43 |
Interpolating Arrays into Strings | p. 46 |
The foreach Control Structure | p. 47 |
Scalar and List Context | p. 49 |
[left angle bracket]STDIN[right angle bracket] in List Context | p. 52 |
Exercises | p. 54 |
Subroutines | p. 55 |
Defining a Subroutine | p. 55 |
Invoking a Subroutine | p. 56 |
Return Values | p. 56 |
Arguments | p. 58 |
Private Variables in Subroutines | p. 60 |
Variable-Length Parameter Lists | p. 60 |
Notes on Lexical (my) Variables | p. 63 |
The use strict Pragma | p. 64 |
The return Operator | p. 65 |
Nonscalar Return Values | p. 67 |
Persistent, Private Variables | p. 68 |
Exercises | p. 69 |
Input and Output | p. 71 |
Input from Standard Input | p. 71 |
Input from the Diamond Operator | p. 73 |
The Invocation Arguments | p. 75 |
Output to Standard Output | p. 76 |
Formatted Output with printf | p. 79 |
Filehandles | p. 81 |
Opening a Filehandle | p. 83 |
Fatal Errors with die | p. 86 |
Using Filehandles | p. 88 |
Reopening a Standard Filehandle | p. 90 |
Output with say | p. 90 |
Exercises | p. 91 |
Hashes | p. 93 |
What Is a Hash? | p. 93 |
Hash Element Access | p. 96 |
Hash Functions | p. 100 |
Typical Use of a Hash | p. 103 |
The %ENV hash | p. 104 |
Exercises | p. 105 |
In the World of Regular Expressions | p. 107 |
What Are Regular Expressions? | p. 107 |
Using Simple Patterns | p. 108 |
Character Classes | p. 113 |
Exercises | p. 115 |
Matching with Regular Expressions | p. 117 |
Matches with m// | p. 117 |
Option Modifiers | p. 118 |
Anchors | p. 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.