Book description
Learning Perl, better known as "the Llama book", starts the programmer on the way to mastery. Written by three prominent members of the Perl community who each have several years of experience teaching Perl around the world, this edition has been updated to account for all the recent changes to the language up to Perl 5.8. Perl is the language for people who want to get work done. It started as a tool for Unix system administrators who needed something powerful for small tasks. Since then, Perl has blossomed into a full-featured programming language used for web programming, database manipulation, XML processing, and system administration--on practically all platforms--while remaining the favorite tool for the small daily tasks it was designed for. You might start using Perl because you need it, but you'll continue to use it because you love it. Informed by their years of success at teaching Perl as consultants, the authors have re-engineered the Llama to better match the pace and scope appropriate for readers getting started with Perl, while retaining the detailed discussion, thorough examples, and eclectic wit for which the Llama is famous. The book includes new exercises and solutions so you can practice what you've learned while it's still fresh in your mind. Here are just some of the topics covered:
Perl variable types
subroutines
file operations
regular expressions
text processing
strings and sorting
process management
using third party modules
If you ask Perl programmers today what book they relied on most when they were learning Perl, you'll find that an overwhelming majority will point to the Llama. With good reason. Other books may teach you to program in Perl, but this book will turn you into a Perl programmer.
Table of contents
-
Learning Perl, 4th Edition
- 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. File Tests
-
12. 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
- 13. Strings and Sorting
- 14. Process Management
- 15. Perl Modules
- 16. 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
- Answer to Chapter 10 Exercise
- Answers to Chapter 11 Exercises
- Answers to Chapter 12 Exercises
- Answers to Chapter 13 Exercises
- Answers to Chapter 14 Exercises
- Answer to Chapter 15 Exercise
- Answer to Chapter 16 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
- Colophon
Product information
- Title: Learning Perl, Fourth Edition
- Author(s):
- Release date: July 2005
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596101053
You might also like
book
Learning Perl, 3rd Edition
If you ask Perl programmers today what book they relied on most when they were learning …
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 …