Preface | p. xxvii |
The Practical Extraction and Report Language | p. 1 |
What Is Perl? | p. 1 |
What Is an Interpreted Language? | p. 2 |
Who Uses Perl? | p. 3 |
Where to Get Perl | p. 5 |
What Is CPAN? | p. 9 |
Perl Documentation | p. 10 |
What You Should Know | p. 12 |
What s Next? | p. 12 |
Perl Quick Start | p. 13 |
Quick Start, Quick Reference | p. 13 |
Chapter Summary | p. 29 |
What s Next? | p. 29 |
Perl Scripts | p. 31 |
Script Setup | p. 31 |
The Script | p. 32 |
Perl at the Command Line | p. 39 |
What You Should Know | p. 43 |
What s Next? | p. 43 |
Getting a Handle on Printing | p. 45 |
The Filehandle | p. 45 |
Words | p. 45 |
The print Function | p. 46 |
The printf Function | p. 59 |
What You Should Know | p. 66 |
What s Next? | p. 66 |
What s in a Name | p. 69 |
About Perl Variables | p. 69 |
Scalars, Arrays, and Hashes | p. 77 |
Reading from STDIN | p. 94 |
Array Functions | p. 100 |
Hash (Associative Array) Functions | p. 118 |
More Hashes | p. 128 |
What You Should Know | p. 132 |
What s Next? | p. 133 |
Where s the Operator? | p. 137 |
About Perl Operators | p. 137 |
Mixing Data Types | p. 138 |
Precedence and Associativity | p. 139 |
What You Should Know | p. 168 |
What s Next? | p. 168 |
If Only, Unconditionally, Forever | p. 171 |
Control Structures, Blocks, and Compound Statements | p. 171 |
Repetition with Loops | p. 177 |
What You Should Know | p. 200 |
What s Next? | p. 200 |
Regular ExpressionsPattern Matching | p. 203 |
What Is a Regular Expression? | p. 203 |
Expression Modifiers and Simple Statements | p. 204 |
Regular Expression Operators | p. 210 |
What You Should Know | p. 232 |
What s Next? | p. 232 |
Getting ControlRegular Expression Metacharacters | p. 235 |
Regular Expression Metacharacters | p. 235 |
Unicode | p. 281 |
What You Should Know | p. 283 |
What s Next? | p. 283 |
Getting a Handle on Files | p. 285 |
The User-Defined Filehandle | p. 285 |
Passing Arguments | p. 310 |
File Testing | p. 319 |
What You Should Know | p. 321 |
What s Next? | p. 322 |
How Do Subroutines Function? | p. 325 |
Subroutines/Functions | p. 325 |
Passing Arguments | p. 330 |
Call-by-Reference | p. 344 |
What You Should Know | p. 358 |
What s Next? | p. 359 |
Modularize It, Package It, and Send It to the Library! | p. 363 |
Packages and Modules | p. 363 |
The Standard Perl Library | p. 370 |
Modules from CPAN | p. 390 |
What You Should Know | p. 398 |
What s Next? | p. 398 |
Does This Job Require a Reference? | p. 401 |
What Is a Reference? What Is a Pointer? | p. 401 |
What You Should Know | p. 420 |
What s Next? | p. 420 |
Bless Those Things! (Object-Oriented Perl) | p. 423 |
The OOP Paradigm | p. 423 |
Classes, Objects, and Methods | p. 425 |
Anonymous Subroutines, Closures, and Privacy | p. 453 |
Inheritance | p. 460 |
Public User InterfaceDocumenting Classes | p. 474 |
Using Objects from the Perl Library | p. 479 |
What You Should Know | p. 484 |
What s Next? | p. 485 |
Those Magic Ties and DBM Stuff | p. 493 |
Tying Variables to a Class | p. 493 |
DBM Files | p. 505 |
What You Should Know | p. 512 |
What s Next? | p. 512 |
CGI and Perl: The Hyper Dynamic Duo | p. 513 |
Static and Dynamic Web Pages 513 | |
How It all Works | p. 516 |
Creating a Web Page with HTML | p. 522 |
How HTML and CGI Work Together | p. 526 |
Getting Information Into and Out of the CGI Script | p. 531 |
CGI and Forms | p. 535 |
The | |
Table of Contents provided by Publisher. All Rights Reserved. |
The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.
The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.