πͺ Perl
Learn Perl from the Basics
Perl — the veteran of text processing, and still hard to beat at regular expressions — taught from the ground up across 20 lessons. Each lesson checks whether what you typed matches the reference code, giving you instant feedback without ever leaving the page.
What is Perl used for?
Perl was released by Larry Wall in 1987 and powered much of the early web through CGI. Its regular expression engine was so capable that it became the model for the feature in Python, Ruby, JavaScript, and many others β the term βPerl-compatible regular expressionsβ comes straight from it. It remains a practical choice today for log analysis and text-transformation batch work.
Common uses & related roles:
- Log analysis and text processing
- System administration scripting
- Bioinformatics data processing
- Infrastructure engineer
πͺPerl Lessons
- 01Setting up (what you'll need)
- 02Your first output (print)
- 03Variables (scalar variables, $)
- 04Branching (the if statement)
- 05Repeating (the for loop)
- 06Writing a subroutine (a function)
- 07Repeating (the while loop)
- 08Working with arrays (@)
- 09Working with hashes (%)
- 10Regular expression matching
- 11Substitution with regular expressions (s///)
- 12Working with strings
- 13References
- 14Anonymous subroutines
- 15File input and output, the basics
- 16Modules and use strict / warnings
- 17The ternary operator
- 18Sorting (sort)
- 19Packages and the basics of object orientation
- 20[Project] Build a small inventory system
Ad space (in-article)
