Introduction to Perl

How this course works, what the workbench can do, and the chapter list.

This is a Perl course for the Swiftener Perl Playground (WebPerl). Every script starts with use strict; use warnings; use feature 'say';. Always say. Python belongs in Introduction to Python.

Goal

Finish every chapter by running the copy-paste blocks. The last chapter is a kiosk log you can reuse.

How to take the course

  1. Keep this tutorial tab and the Perl Playground side by side.
  2. Wait until Perl is ready.
  3. Copy an exercise, paste it as the whole editor, then press Ctrl+Enter (or Cmd+Enter).
  4. Start with the three use lines. Always say a result.

What this playground can and cannot do

  • Can: Perl, say, arrays, hashes, regex, local drafts, a kiosk text file.
  • Cannot: installing CPAN modules, or a system shell.

Sample files

  • kiosk.txt — Nairobi kiosk lines

Chapter list