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
- Print Version String from Script
- Version History
- Documentation Lookup, Using Builtin Help System
- File Name Extension
Sigil
String
- Quote Strings
- Here-Doc String
- Format String
- Print Array or Hashtable
- String Operations
- Regex Tutorial
Boolean
Conditional
Data Structure
Loop, Iteration
Function
Text Processing
- Unicode Tutorial πͺ
- Convert File Encoding
- Read/Write to File
- Traverse Directory
- Find Replace String Pairs in Directory
- Split Line by Regex
Modules
Advanced
- System Call
- Compress/Decompress gzip Files
- Get Environment Variable
- Sort List, Matrix, Object
- Sort Matrix
- Sort Unstable
- Sort Misc
- Complex Numbers
- GET Web Page Content
- 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