Book description
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 include:
- Perl data & variable types
- Subroutines
- File operations
- Regular expressions
- String manipulation
- Lists & sorting
- Process management
- Smart matching
- Using third party modules
Perl is the language for people who want to get work done. Originally targeted to sysadmins for heavy-duty text processing, Perl is now a full-featured programming language suitable for almost any task on almost any platform-from short fixes on the command line to web applications, bioinformatics, finance, and much more. Other books may teach you to program in Perl, but this book will turn you into a Perl programmer.
Publisher resources
Table of contents
-
Learning Perl
- A Note Regarding Supplemental Files
- Preface
- 1. Introduction
- 2. Scalar Data
- 3. Lists and Arrays
- 4. Subroutines
- 5. Input and Output
- 6. Hashes
- 7. In the World of Regular Expressions
- 8. Matching with Regular Expressions
- 9. Processing Text with Regular Expressions
- 10. More Control Structures
- 11. Perl Modules
- 12. File Tests
-
13. Directory Operations
- Moving Around the Directory Tree
- Globbing
- An Alternate Syntax for Globbing
- Directory Handles
- Recursive Directory Listing
- Manipulating Files and Directories
- Removing Files
- Renaming Files
- Links and Files
- Making and Removing Directories
- Modifying Permissions
- Changing Ownership
- Changing Timestamps
- Exercises
- 14. Strings and Sorting
- 15. Smart Matching and given-when
- 16. Process Management
- 17. Some Advanced Perl Techniques
-
A. Exercise Answers
- Answers to Chapter 2 Exercises
- Answers to Chapter 3 Exercises
- Answers to Chapter 4 Exercises
- Answers to Chapter 5 Exercises
- Answers to Chapter 6 Exercises
- Answers to Chapter 7 Exercises
- Answers to Chapter 8 Exercises
- Answers to Chapter 9 Exercises
- Answers to Chapter 10 Exercises
- Answer to Chapter 11 Exercise
- Answers to Chapter 12 Exercises
- Answers to Chapter 13 Exercises
- Answers to Chapter 14 Exercises
- Answers to Chapter 15 Exercises
- Answers to Chapter 16 Exercises
- Answer to Chapter 17 Exercise
-
B. Beyond the Llama
- Further Documentation
- Regular Expressions
- Packages
- Extending Perl’s Functionality
- Some Important Modules
- Pragmas
- Databases
- Other Operators and Functions
- Mathematics
- Lists and Arrays
- Bits and Pieces
- Formats
- Networking and IPC
- Security
- Debugging
- The Common Gateway Interface (CGI)
- Command-Line Options
- Built-in Variables
- Syntax Extensions
- References
- Tied Variables
- Operator Overloading
- Dynamic Loading
- Embedding
- Converting Other Languages to Perl
- Converting find Command Lines to Perl
- Command-Line Options in Your Programs
- Embedded Documentation
- More Ways to Open Filehandles
- Locales and Unicode
- Threads and Forking
- Graphical User Interfaces (GUIs)
- And More…
- Index
- About the Authors
- Colophon
Product information
- Title: Learning Perl, 5th Edition
- Author(s):
- Release date: June 2008
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596551858
You might also like
book
Learning Perl, 7th Edition
If you’re just getting started with Perl, this is the book you want—whether you’re a programmer, …
book
Learning Perl, 6th Edition
If you're just getting started with Perl, this is the book you want—whether you're a programmer, …
book
Programming Perl, 4th Edition
Adopted as the undisputed Perl bible soon after the first edition appeared in 1991, Programming Perl …
book
Programming Perl, 3rd Edition
Perl is a powerful programming language that has grown in popularity since it first appeared in …