Lessons
An introduction to writing Perl
Perl · Introductory. Ten lessons. Open-book quizzes. Lesson 1 free.
10 lessons · The Host · Lesson 1 free
Pass all ten lessons for the certificate. Sample · Claim

Lesson 1 · On the house
Hello, Perl
Shebang, print, .pl, perl file.pl.

Lesson 2
Scalars
$name, my, undef, defined.

Lesson 3
Strings and quoting
'', "", ., x, length, chomp.

Lesson 4
Numbers and operators
+ - * /, **, comparison.

Lesson 5
Arrays
@list, $list[i], $#list, push/pop, qw.

Lesson 6
Hashes
%h, $h{key}, keys/values, exists.

Lesson 7
Conditionals
if/elsif/else, unless, defined-or //.

Lesson 8
Loops
foreach, while, for, last/next.

Lesson 9
Subroutines
sub, @_, return, my vs our.

Lesson 10
Introductory capstone
Scalar, array, hash, sub, print.
Sample certificate
Certificate of completion
Sign in to claim your certificate of completion.
Certificate
Finish all ten lessons, then sign in
Pass every lesson on this device (quizzes and checks). Then sign in or create an account to type your name and download the JPG.