Perl Tutorials — Complete Beginner to Advanced Guide
In this tutorial series, you'll learn Perl from the ground up. Perl is a highly expressive scripting language designed for text processing and system administration -- combining shell power with the most advanced built-in regex engine.
1. What is Perl?
History, philosophy, TMTOWTDI
2. Setup
Install, perlbrew, first script
3. Scalars
Numbers, strings, undef
4. Arrays
List context, operations, slicing
5. Hashes
Key-value pairs, exists, delete
6. Regular Expressions
Match, substitution, flags
7. Subroutines
sub, my, return, prototypes
8. File I/O
open, read, write, slurp
9. CPAN
cpan, cpanm, finding modules
10. OOP with Moose
Classes, attributes, roles
11. DBI
Database interface, SQL
12. CGI
Web scripting, forms, PSGI
13. Mojolicious
Real-time web framework
14. Dancer2
Minimal web framework
15. One-Liners
-e, -n, -p, -a, command-line
16. Context
Scalar vs list, void context
17. References
Array ref, hash ref, nested
18. Packages
package, our, export
19. Modules
use, require, @INC, best practices
20. Special Variables
$_, $!, $/, $., $|
21. String Functions
split, join, substr, index
22. List Functions
grep, map, sort
23. Sorting
Default, custom, Schwartzian
24. map and grep
Transformation, filtering
25. Formatting
printf, sprintf, format
26. Error Handling
die, warn, eval, Try::Tiny
27. Testing
Test::Simple, TAP, prove
28. Networking
Socket, LWP, web scraping
29. Process Management
system, exec, fork, signals
30. Mini Projects
Log analyzer, report gen, scraper
Let's begin with Lesson 1.
Published Topics
All 30 topics in Perl Tutorials — Complete Beginner to Advanced Guide are published.