← Languages

Perl

Full course · 21 lessons

Perl is a highly capable, feature-rich programming language known for its text processing power, CPAN module ecosystem, and versatility in system administration, web development, and bioinformatics.

Knowledge Course
01

Getting Started with Perl

Hello world, TMTOWTDI, and running Perl code.

20 min→
02

Values and Types

Scalars, auto-conversion, undef, and comparisons.

25 min→
03

Variables

Scalars, arrays, hashes, strict, and scoping.

25 min→
04

Operators

Arithmetic, string, assignment, and increment operators.

25 min→
05

Control Flow

if/elsif, unless, ternary, and short-circuit logic.

25 min→
06

Loops

for, foreach, while, and loop control keywords.

25 min→
07

Lists and Arrays

Indexing, slicing, stack ops, and array functions.

30 min→
08

Hashes

Key-value pairs, exists, delete, and iteration.

30 min→
09

Functions

Subroutines, @_, return, and context.

30 min→
10

Regular Expressions

Matching, capturing, substitution, split, and join.

35 min→
11

File I/O

Opening files, reading lines, and the diamond operator.

30 min→
12

References

Scalar, array, hash references, and dereferencing.

35 min→
13

Nested Data Structures

Arrays of arrays, hashes of hashes, and traversal.

35 min→
14

String Manipulation

chomp, case, substr, index, and sprintf.

25 min→
15

Error Handling

die, warn, eval, and the $@ variable.

30 min→
16

Modules and Packages

use, require, package, and the Exporter.

30 min→
17

Object-Oriented Perl

bless, methods, inheritance, and modern OO.

35 min→
18

Context

Scalar vs list context and wantarray.

30 min→
19

CPAN and Tooling

The module ecosystem, installers, and perldoc.

25 min→
20

Unicode and Encoding

utf8, Encode, file layers, and character properties.

30 min→
21

Ecosystem and Next Steps

Mojolicious, DBI, testing, and the road ahead.

20 min→
Curated Resources