| |
| |
Preface | |
| |
| |
| |
The Practical Extraction and Report Language | |
| |
| |
| |
What Is Perl? | |
| |
| |
| |
What Is an Interpreted Language? | |
| |
| |
| |
Who Uses Perl? | |
| |
| |
| |
Where to Get Perl | |
| |
| |
| |
What Is CPAN? | |
| |
| |
| |
Perl Documentation | |
| |
| |
| |
What You Should Know | |
| |
| |
| |
What s Next? | |
| |
| |
| |
Perl Quick Start | |
| |
| |
| |
Quick Start, Quick Reference | |
| |
| |
| |
Chapter Summary | |
| |
| |
| |
What s Next? | |
| |
| |
| |
Perl Scripts | |
| |
| |
| |
Script Setup | |
| |
| |
| |
The Script | |
| |
| |
| |
Perl at the Command Line | |
| |
| |
| |
What You Should Know | |
| |
| |
| |
What s Next? | |
| |
| |
| |
Getting a Handle on Printing | |
| |
| |
| |
The Filehandle | |
| |
| |
| |
Words | |
| |
| |
| |
The print Function | |
| |
| |
| |
The printf Function | |
| |
| |
| |
What You Should Know | |
| |
| |
| |
What s Next? | |
| |
| |
| |
What s in a Name | |
| |
| |
| |
About Perl Variables | |
| |
| |
| |
Scalars, Arrays, and Hashes | |
| |
| |
| |
Reading from STDIN | |
| |
| |
| |
Array Functions | |
| |
| |
| |
Hash (Associative Array) Functions | |
| |
| |
| |
More Hashes | |
| |
| |
| |
What You Should Know | |
| |
| |
| |
What s Next? | |
| |
| |
| |
Where s the Operator? | |
| |
| |
| |
About Perl Operators | |
| |
| |
| |
Mixing Data Types | |
| |
| |
| |
Precedence and Associativity | |
| |
| |
| |
What You Should Know | |
| |
| |
| |
What s Next? | |
| |
| |
| |
If Only, Unconditionally, Forever | |
| |
| |
| |
Control Structures, Blocks, and Compound Statements | |
| |
| |
| |
Repetition with Loops | |
| |
| |
| |
What You Should Know | |
| |
| |
| |
What s Next? | |
| |
| |
| |
Regular ExpressionsPattern Matching | |
| |
| |
| |
What Is a Regular Expression? | |
| |
| |
| |
Expression Modifiers and Simple Statements | |
| |
| |
| |
Regular Expression Operators | |
| |
| |
| |
What You Should Know | |
| |
| |
| |
What s Next? | |
| |
| |
| |
Getting ControlRegular Expression Metacharacters | |
| |
| |
| |
Regular Expression Metacharacters | |
| |
| |
| |
Unicode | |
| |
| |
| |
What You Should Know | |
| |
| |
| |
What s Next? | |
| |
| |
| |
Getting a Handle on Files | |
| |
| |
| |
The User-Defined Filehandle | |
| |
| |
| |
Passing Arguments | |
| |
| |
| |
File Testing | |
| |
| |
| |
What You Should Know | |
| |
| |
| |
What s Next? | |
| |
| |
| |
How Do Subroutines Function? | |
| |
| |
| |
Subroutines/Functions | |
| |
| |
| |
Passing Arguments | |
| |
| |
| |
Call-by-Reference | |
| |
| |
| |
What You Should Know | |
| |
| |
| |
What s Next? | |
| |
| |
| |
Modularize It, Package It, and Send It to the Library! | |
| |
| |
| |
Packages and Modules | |
| |
| |
| |
The Standard Perl Library | |
| |
| |
| |
Modules from CPAN | |
| |
| |
| |
What You Should Know | |
| |
| |
| |
What s Next? | |
| |
| |
| |
Does This Job Require a Reference? | |
| |
| |
| |
What Is a Reference? What Is a Pointer? | |
| |
| |
| |
What You Should Know | |
| |
| |
| |
What s Next? | |
| |
| |
| |
Bless Those Things! (Object-Oriented Perl) | |
| |
| |
| |
The OOP Paradigm | |
| |
| |
| |
Classes, Objects, and Methods | |
| |
| |
| |
Anonymous Subroutines, Closures, and Privacy | |
| |
| |
| |
Inheritance | |
| |
| |
| |
Public User InterfaceDocumenting Classes | |
| |
| |
| |
Using Objects from the Perl Library | |
| |
| |
| |
What You Should Know | |
| |
| |
| |
What s Next? | |
| |
| |
| |
Those Magic Ties and DBM Stuff | |
| |
| |
| |
Tying Variables to a Class | |
| |
| |
| |
DBM Files | |
| |
| |
| |
What You Should Know | |
| |
| |
| |
What s Next? | |
| |
| |
| |
CGI and Perl: The Hyper Dynamic Duo | |
| |
| |
| |
Static and Dynamic Web Pages 513 | |
| |
| |
| |
How It all Works | |
| |
| |
| |
Creating a Web Page with HTML | |
| |
| |
| |
How HTML and CGI Work Together | |
| |
| |
| |
Getting Information Into and Out of the CGI Script | |
| |
| |
| |
CGI and Forms | |
| |
| |
| |
The | |