First steps
This part starts the course: what Perl is, where a Perl program runs, the install and the version check, a first script with use strict and use warnings, and the built-in debugger used as an interactive shell. Every example is a short program you can type into a file and run with perl.
1.1
What is Perl and where it runs
an interpreted language made for text, the places a Perl program runs, and why it is still in use
Open
1.2
Install Perl and check the version
ask the shell where perl lives, read perl -v, and keep a second version with perlbrew or plenv
Open
1.3
Your first Perl script
hello.pl with a shebang, use strict and use warnings, run it with perl, then make it executable
Open
1.4
The debugger as a REPL
the built-in debugger as a shell: try expressions, dump a data structure, and leave cleanly
Open