My Account Log in

1 option

Learning Perl / Randal L. Schwartz, Tom Phoenix, and Brian D. Foy.

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Schwartz, Randal L.
Contributor:
Foy, Brian D.
Phoenix, Tom.
Language:
English
Subjects (All):
Internet programming.
Perl (Computer program language).
Physical Description:
1 online resource (590 p.)
Edition:
5th ed.
Place of Publication:
Beijing ; Sebastopol : O'Reilly, 2008.
Language Note:
English
System Details:
text file
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 inclu
Contents:
Learning Perl; How to Contact Us; Using Code Examples; Safari® Enabled; History of This Book; Acknowledgments; 1. Introduction; Why Are There So Many Footnotes?; What About the Exercises and Their Answers?; What Do Those Numbers at the Start of the Exercise Mean?; What If I'm a Perl Course Instructor?; What Does "Perl" Stand For?; Why Didn't Larry Just Use Some Other Language?; Is Perl Easy or Hard?; How Did Perl Get to Be So Popular?; What's Happening with Perl Now?; What's Perl Really Good For?; What Is Perl Not Good For?; How Can I Get Perl?; How Can I Get Support for Perl?
Are There Any Other Kinds of Support?What If I Find a Bug in Perl?; How Do I Make a Perl Program?; What's Inside That Program?; How Do I Compile Perl?; A Whirlwind Tour of Perl; Exercises; 2. Scalar Data; Floating-Point Literals; Integer Literals; Nondecimal Integer Literals; Numeric Operators; Strings; Double-Quoted String Literals; String Operators; Automatic Conversion Between Numbers and Strings; Perl's Built-in Warnings; Scalar Variables; Scalar Assignment; Binary Assignment Operators; Output with print; Operator Precedence and Associativity; Comparison Operators
The if Control StructureGetting User Input; The chomp Operator; The while Control Structure; The undef Value; The defined Function; Exercises; 3. Lists and Arrays; Special Array Indices; List Literals; List Assignment; The shift and unshift Operators; Interpolating Arrays into Strings; The foreach Control Structure; The reverse Operator; The sort Operator; Scalar and List Context; Using Scalar-Producing Expressions in List Context; Forcing Scalar Context; in List Context; Exercises; 4. Subroutines; Invoking a Subroutine; Return Values; Arguments; Private Variables in Subroutines
Variable-Length Parameter ListsEmpty Parameter Lists; Notes on Lexical (my) Variables; The use strict Pragma; The return Operator; Nonscalar Return Values; Persistent, Private Variables; Exercises; 5. Input and Output; Input from the Diamond Operator; The Invocation Arguments; Output to Standard Output; Formatted Output with printf; Filehandles; Opening a Filehandle; Closing a Filehandle; Fatal Errors with die; Using Filehandles; Reopening a Standard Filehandle; Output with say; Exercises; 6. Hashes; Hash Element Access; Hash Assignment; The Big Arrow; Hash Functions; The each Function
Typical Use of a HashThe delete Function; Hash Element Interpolation; The %ENV hash; Exercises; 7. In the World of Regular Expressions; Using Simple Patterns; Simple Quantifiers; Grouping in Patterns; Alternatives; Character Classes; Negating the Shortcuts; Exercises; 8. Matching with Regular Expressions; Option Modifiers; Matching Any Character with /s; Adding Whitespace with /x; Combining Option Modifiers; Other Options; Anchors; The Binding Operator, =~; Interpolating into Patterns; The Match Variables; Noncapturing Parentheses; Named Captures; The Automatic Match Variables
General Quantifiers
Notes:
Includes index.
Description based on print version record.
ISBN:
9781306817264
1306817269
9780596154318
0596154313
9780596551858
0596551851
OCLC:
609840713

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Library Catalog Using Articles+ Library Account