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 best seller closely follows the popular introductory Perl course taught by the authors since 1991. This eighth edition covers recent changes to the language up to version 5.34.
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 simple, single-file programs—roughly 90% of the Perl programs in use today. And 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
- Use of third-party modules
Table of contents
- Preface
- 1. Introduction
- 2. Scalar Data
- 3. Lists and Arrays
- 4. Subroutines
- 5. Input and Output
- 6. Hashes
- 7. 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
- 14. Strings and Sorting
- 15. Process Management
- 16. 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
- Answers 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
-
B. Beyond the Llama
- Further Documentation
- Regular Expressions
- Packages
- Extending Perl’s Functionality
- Databases
- Mathematics
- Lists and Arrays
- Bits and Pieces
- Formats
- Networking and IPC
- Security
- Debugging
- Command-Line Options
- Built-in Variables
- References
- Tied Variables
- Operator Overloading
- Using Other Languages Inside Perl
- Embedding
- Converting find Command Lines to Perl
- Command-Line Options in Your Programs
- Embedded Documentation
- More Ways to Open Filehandles
- Graphical User Interfaces (GUIs)
- And More…
- C. A Unicode Primer
- D. Experimental Features
- Index
Product information
- Title: Learning Perl, 8th Edition
- Author(s):
- Release date: August 2021
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781492094951
You might also like
video
Python Fundamentals
51+ hours of video instruction. Overview The professional programmer’s Deitel® video guide to Python development with …
book
Learning Python, 5th Edition
Get a comprehensive, in-depth introduction to the core Python language with this hands-on book. Based on …
book
Clean Code: A Handbook of Agile Software Craftsmanship
Even bad code can function. But if code isn't clean, it can bring a development organization …
book
40 Algorithms Every Programmer Should Know
Learn algorithms for solving classic computer science problems with this concise guide covering everything from fundamental …