Book description
If you're just getting started with Perl, this is the book you want—whether you're a programmer, system administrator, or web hacker. Nicknamed "the Llama" by two generations of users, this bestseller closely follows the popular introductory Perl course taught by the authors since 1991. This 6th edition covers recent changes to the language up to version 5.14.
Perl is suitable for almost any task on almost any platform, from short fixes to complete web applications. Learning Perl teaches you the basics and shows you how to write programs up to 128 lines long—roughly the size of 90% of the Perl programs in use today. Each chapter includes exercises to help you practice what you've just learned. Other books may teach you to program in Perl, but this book will turn you into a Perl programmer.
Topics include:
- Perl data and variable types
- Subroutines
- File operations
- Regular expressions
- String manipulation (including Unicode)
- Lists and sorting
- Process management
- Smart matching
- Use of third party modules
Publisher resources
Table of contents
- 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 1 Exercises
- 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 Exercises
- 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 Exercises
-
B. Beyond the Llama
- Further Documentation
- Regular Expressions
- Packages
- Extending Perl’s Functionality
- Databases
- Other Operators and Functions
- Mathematics
- Lists and Arrays
- Bits and Pieces
- Formats
- Networking and IPC
- Security
- Debugging
- 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
- Threads and Forking
- Graphical User Interfaces (GUIs)
- And More…
- C. A Unicode Primer
- Index
- About the Authors
- Colophon
- Copyright
Product information
- Title: Learning Perl, 6th Edition
- Author(s):
- Release date: June 2011
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449303587
You might also like
book
Programming Perl, 3rd Edition
Perl is a powerful programming language that has grown in popularity since it first appeared in …
book
Perl in a Nutshell, 2nd Edition
This complete guide to the Perl programming language ranges widely through the Perl programmer's universe, gathering …
book
Mastering Perl
This is the third in O'Reilly's series of landmark Perl tutorials, which started with Learning Perl, …
book
Programming Perl, 4th Edition
Adopted as the undisputed Perl bible soon after the first edition appeared in 1991, Programming Perl …