THE READING ROOM / BOOK GUIDE
Programming Perl
A long-standing reference on Perl by Larry Wall with Tom Christiansen and Jon Orwant, organized around the premise that the language exists to get a job done.
About the book
Programming Perl is a language reference and guide to Perl, the text-processing language Larry Wall created. The book carries his name alongside Tom Christiansen and Jon Orwant, and its stated premise is practical: Perl is a language for getting your job done. That framing shapes the volume, which treats the language as a working tool.
The book covers Perl's syntax, data types, operators, regular expressions, subroutines, modules and object-oriented features, along with the idioms that give Perl its reputation for expressive, sometimes dense code. It also addresses how Perl connects to its surrounding system: files, processes and the network. Readers meet the language's philosophy as well as its grammar, since Perl's design choices reflect a particular view of programming as a craft of convenience and flexibility.
Perl has changed across versions, so the edition matters. Later editions track newer language features and revised practice, while early printings describe an older Perl. A reader should check which Perl release a given copy targets before relying on it for current work.
How to read it
Approach the book as a reference first and a tutorial second. The prose is often wry and digressive, and the authors explain design decisions alongside syntax. Read the early chapters on data and operators carefully, because Perl's context rules and sigils confuse newcomers, and later material assumes fluency with them.
The regular expression chapters reward slow reading. Perl's pattern matching is central to the language, and the book treats it in depth. Keep a terminal open and test examples against a real interpreter. Some code reflects the Perl of its edition, so expect occasional differences from modern versions and consult current documentation for anything version-sensitive.
Who it suits
This suits programmers who already write code in another language and want a thorough, opinionated guide to Perl's model of text processing, regular expressions and system scripting. It also serves maintainers who inherit Perl code and need to understand why it looks the way it does. Readers seeking a quick modern tutorial may find the reference style heavy going, and complete beginners will want a gentler on-ramp before this volume.
Reading considerations
The main limitation is age. Perl has evolved since the first edition, and details in earlier printings may not match current releases or recommended practice. Check the edition and the Perl version it documents before treating any example as authoritative, and verify version-specific behavior against current documentation.
Follow the HN conversation
90 different recommenders are recorded in the upstream dataset. These are AI-classified source counts, not an independent rating.
Search HN comments about this book ↗
Explore videos on the same subject ↗
Book notes prepared with DeepSeek, using catalogue records and Open Library subject information. They are reading guidance, not a personal review or a verified chapter-by-chapter account. Book details can vary by edition. HN data methodology · Book metadata and covers.
