Learn Perl in 1 Hour

By Xah Lee. Date: . Last updated: .

This is a basic Perl tutorial. The goal is to get a quick working understanding of the language. Examples on this page are based on Perl 5.14.2. (released on )

Perl variable name prefix: sigil

String

True and False

Conditional: if then else

Loop, Iteration

Data Structure

Looping Thru a List

Using Library

Defining a Function

Perl

Detail

String

Boolean

Conditional

Data Structure

Loop, Iteration

Function

Text Processing

Advanced

misc