Book description
Sams Teach Yourself Perl in 21 Days covers the basics of Perl in the first few chapters, and then moves on to practical issues of Perl and in-depth discussions of more advanced topics. Later chapters also delve into software engineering topics, with discussions of modular code and object-oriented programming. CGI is covered in one chapter, but it is not the focus on the book. The book relies heavily on longer working examples and code, as opposed to small snippets and code fragments, and each chapter includes two to three smaller complete examples and one major one that illustrates most of the concepts for that chapter and builds on the chapters before it. Written by Laura Lemay, this is her third major book after Sams Teach Yourself Web Publishing with HTML in 21 Days and Sams Teach Yourself Java in 21 Days.
Table of contents
- Copyright
- About the Authors
- Acknowledgments
- Tell Us What You Think!
- Getting Started
-
Doing More
- Manipulating Lists and Strings
-
Pattern Matching with Regular Expressions
- The Whys and Wherefores of Pattern Matching
- Pattern Matching Operators and Expressions
- Simple Patterns
- Matching Groups of Characters
- Matching Multiple Instances of Characters
- An Example: A Guessing Program
- More About Building Patterns
- Another Example: Counting
- Pattern Precedence
- Going Deeper
- Summary
- Q&A
- Workshop
- Doing More with Regular Expressions
- Creating and Using Subroutines
- Debugging Perl
- Scope, Modules, and Importing Code
- Exploring a Few Longer Examples
-
Advanced Perl
- Working with Files and I/O
- Using Perl for CGI Scripting
- Managing Files and Directories
- Perl and the Operating System
-
Working with References
- What Is a Reference?
- The Basics: A General Overview of How to Use References
- Using References with Subroutine Arguments and Return Values
- Other Ways of Using References
- Creating Nested Data Structures with References
- Building Data Structures with Existing Data
- Accessing Elements in Nested Data Structures
- Another Example: A Database of Artists and Their Works
- Avoiding the Use of References
- Going Deeper
- Summary
- Q&A
- Workshop
-
Odds and Ends
- Perl One-Liners
- Object-Oriented Programming
- An Example: Using Object-Oriented Modules
- Sockets
- POD (Plain Old Documentation) Files
- Evaluating Code On-the-Fly
- Commonly Used Modules
- Creating International Perl Scripts
- Script Security with Taint Checking
- PerlScript
- What's Coming in Perl 6
- Going Deeper
- Summary
- Q&A
- Workshop
- Exploring a Few Longer Examples
- Appendixes
- Index
Product information
- Title: Sams Teach Yourself Perl in 21 Days, Second Edition
- Author(s):
- Release date: May 2002
- Publisher(s): Sams
- ISBN: 0672320355
You might also like
book
Sams Teach Yourself Perl in 24 Hours
Even if you're new to Perl, Sams Teach Yourself Perl in 24 Hours teaches you everything …
book
SAMS Teach Yourself Perl in 24 Hours THIRD EDITION
Learn Perl programming quickly and easily with 24 one-hour lessons in Sams Teach Yourself Perl in …
book
Database-Driven Web Development: Learn to Operate at a Professional Level with PERL and MySQL
Learn to operate at a professional level with HTML, CSS, DOM, JavaScript, PERL and the MySQL …
book
Pro Perl
Over the years, Perl has grown from an elegant scripting tool into a mature and full-featured …