AUWENFIELD NOTES
JOHNNY AUWENFORGE
LUMEN Galleries ↗
← code

Perl: text, files, and automation

Start with scalars and lists, then turn messy text into structured reports.

GUIDE

5 published lessons · Updated 2026-09-14

1 / 8Before you begin

Read in order, or choose a chapter. Lesson links can be bookmarked.

Before you begin

Install a supported Perl 5 interpreter and check perl -v. Save examples as .pl plain-text files. Run perl filename.pl. The first lessons use core Perl only. Keep use strict and use warnings at the top of each script.

Working toward: Build a tested log-analysis tool that handles Unicode, bad input, and large files.

Read each explanation, work through the example, and attempt the exercise before opening its answer. Published lessons are ready to study; unfinished roadmap topics remain planned.

Validation: Lessons 1–4 retain their prior expected-output checks. Lesson 5 and its solution were executed on Linux using Perl 5.38.2 and Test::More 1.302194, including deliberate failing tests. Current Perl 5.44 documentation was reviewed; 5.44 and other operating systems were not execution-tested.