Skip to content

Resources

One line: Every claim in this library can be checked against a perldoc page — the list below says which page stands behind which chapter — and every idea in it has a sibling page in another language, linked from the lesson itself.

The primary sources

perldoc ships with perl, so all of these are also on your machine: perldoc perlrun, perldoc -f split, perldoc Encode.

One-liners (chapter 01)

Unicode text (chapter 02)

Regex (chapter 03)

Records and fields (chapter 04)

The Unicode standards underneath

A book

Sibling libraries

Same house style, same answer-key contract:

Tools worth having

  • perldoc — the documentation above, offline. perldoc -f NAME for a function, perldoc -v '$/' for a variable.
  • perl -MO=Deparse — what your switches compiled to. Chapter 01 uses it on every one.
  • perl -CSDA -Mutf8 — the switches that make a one-liner decode its input, its arguments and its own source.
  • Perl::Critic and Perl::Tidy, from CPAN — a linter and a formatter. Neither ships with perl.