Fork me on GitHub

Project Notes

#439 Learning Perl

Book notes - Learning Perl: Making Easy Things Easy and Hard Things Possible by Randal L. Schwartz, Brian D. Foy, Tom Phoenix. First published November 1, 1993. Most recently published as an Eighth edition in 2021.

Notes

Learning Perl, also known as the llama book, is a tutorial book for the Perl programming language, and is published by O’Reilly Media. The first edition (1993) was authored solely by Randal L. Schwartz, and covered Perl 4. All subsequent editions have covered Perl 5.

I first read it in its second edition (1997). As of 2026, the book is in its eighth edition (2021).

cover

Contents - Second Edition

  • Chapter 1: Introduction
  • Chapter 2: Scalar Data
  • Chapter 3: Arrays and List Data
  • Chapter 4: Control Structures
  • Chapter 5: Hashes
  • Chapter 6: Basic I/O
  • Chapter 7: Regular Expressions
  • Chapter 8: Functions
  • Chapter 9: Miscellaneous Control Structures
  • Chapter 10: Filehandles and File Tests
  • Chapter 11: Formats
  • Chapter 12: Directory Access
  • Chapter 13: File and Directory Manipulation
  • Chapter 14: Process Management
  • Chapter 15: Other Data Transformation
  • Chapter 16: System Database Access
  • Chapter 17: User Database Manipulation
  • Chapter 18: Converting Other Languages to Perl
  • Chapter 19: CGI Programming
  • Appendix A: Exercise Answers
  • Appendix B: Libraries and Modules
  • Appendix C: Networking Clients
  • Appendix D: Topics We Didn’t Mention

Source Code - Seventh Edition

Example sources are maintained on GitHub. They were last updated for the 7th edition Cloning to an example_source_v7 folder:

git clone https://github.com/briandfoy/Learning-Perl-Sample-Files example_source_v7

Source Code - Second Edition

Example sources are maintained at https://resources.oreilly.com/examples/9781565922846/. Cloning to an example_source_v2 folder:

git clone https://resources.oreilly.com/examples/9781565922846 example_source_v2

Credits and References

About LCK#439
BooksPerl

This page is a web-friendly rendering of my project notes shared in the LittleCodingKata GitHub repository.

Project Source on GitHub Return to the LittleCodingKata Catalog
About LittleCodingKata

LittleCodingKata is my collection of programming exercises, research and code toys broadly spanning things that relate to programming and software development (languages, frameworks and tools).

These range from the trivial to the complex and serious. Many are inspired by existing work and I'll note credits and references where applicable. The focus is quite scattered, as I variously work on things new and important in the moment, or go back to revisit things from the past.

This is primarily a personal collection for my own edification and learning, but anyone who stumbles by is welcome to borrow, steal or reference the work here. And if you spot errors or issues I'd really appreciate some feedback - create an issue, send me an email or even send a pull-request.

Follow the Blog follow projects and notes as they are published in your favourite feed reader