Perl Tutorial
There is a camel, kooky. Ugly, loathsome, ungainly. Hacking it supports, TIMTOWTDI it sports. And transports DWIM-wit's fancy.
This is a example based perl tutorial for beginners.
The goal is to get a quick working understanding of the language.
Table of Contents
Perl
- Perl: Print Version String from Script
- Perl: Version History
- Perl: Documentation Lookup, Using Builtin Help System
- Perl: File Name Extension
Sigil
String
- Perl: Quote Strings
- Perl: Here-Doc String
- Perl: Format String
- Perl: Print Array or Hashtable
- Perl: String Operations
- Perl: Regex Tutorial
Boolean
Conditional
Data Structure
- Perl: List, Array
- Perl: Nested List
- Perl: General List
- Perl: Hash Table
- Perl: Print Array or Hashtable
Loop, Iteration
Function
Text Processing
- Perl: Unicode Tutorial πͺ
- Perl: Convert File Encoding
- Perl: Read/Write to File
- Perl: Traverse Directory
- Perl: Find Replace String Pairs in Directory
- Perl: Split Line by Regex
Modules
- Perl: Modules
- Perl: List Available Modules
- Perl: Module Load Paths
- Perl: List Loaded Modules
- Perl: How to Write a Module
Advanced
- Perl: System Call
- Perl: Compress/Decompress gzip Files
- Perl: Get Environment Variable
- Perl: Sort List, Matrix, Object
- Perl: Sort Matrix
- Perl: Sort Unstable
- Perl: Sort Misc
- Perl: Complex Numbers
- Perl: GET Web Page Content
- Perl: Send Email
Scripts
Perl Cult
- Perl Tutorial
- Xah Talk Show 2025-04-30 Ep650 Why Perl Sucks, Etymology of Fan
- Perl Books Survey 2002
- Perl One-Liner Screw
- Perl: Theory vs Practice
- Theory vs Practice Voodoo
- Laziness, Perl, and Larry Wall
- Larry Wall and Cults
- Perl's raison d'Γͺtre
- On the Survival Strategies of Larry Wall vs Richard Stallman
- Text Processing: Emacs Lisp vs Perl
- What is Expressiveness in Programing Languages