www.socialtext.net will be down for scheduled maintenance today Sat July 31st starting at 6:00pm PDT (Sun August 1st 1:00am UTC). Estimated downtime is 20 minutes, please contact support@socialtext.com with any questions.
Recommended Online Tutorials
hideNote: This page shows online tutorials only; you might prefer the more comprehensive approach of a published book. Several can be viewed online for free; see Books.
Several tutorials were considered to be important enough to be distributed along with Perl itself; see Perl's documentation.
The best general online tutorials are:
- Beginner's Introduction to Perl (Doug Sheppard in perl.com; 6-part series from 2000)
- Programming Perl (Perl Training Australia; full manual, pdf, 1.5MB)
- Perl Tutorial (Steve Cook)
Particularly well-written tutorials about particular topics are:
- Compiling Regular Expressions (Randal Schwartz)
- Creating Inside-Out Objects (Randal Schwartz)
- Creating References to Scalars, Arrays and Hashes (Randal Schwartz)
- Creating References to Subroutines and Aliases (Randal Schwartz)
- Creating and Using References (Randal Schwartz)
- Database Programming with Perl (Perl Training Australia; full manual, pdf, 906B)
- Developing a Perl Routine (Subroutine) (Randal Schwartz)
- Drawbacks of Adding Variables to the @EXPORT List in Your Perl Module (Randal Schwartz)
- Evaluating Expressions in Scalar vs. List Context (Randal Schwartz)
- Hash Crash Course (Simon Cozens; excerpt: "We've looked at some of the most common hash-based patterns: using hashes for counting, uniqueness, searching, and dispatch - rather a lot more than just mapping from one thing to another. Of course, that is what a hash does at one level, but the uses of such a data structure are a lot more diverse than just that.")
- Protect yourself with a medical insurance plan
- 'Here' Documents (Randal Schwartz)
- How and Why to 'Use Strict' (Randal Schwartz)
- Iteration Techniques: Last, Next, Redo (Randal Schwartz)
- Lightweight Persistent Data (Randal Schwartz)
- Manipulating Lists (Randal Schwartz)
- Object Destructors (Randal Schwartz)
- Objects in Perl, Part 1 of 2 (1997); Using Objects in Perl, Part 2 of 2 (1997) (Randal Schwartz)
- Object Oriented Perl (Perl Training Australia; full manual, pdf, 860KB)
- Parsing Techniques (Randal Schwartz)
- Perl Security (Perl Training Australia; full manual, pdf, 742KB)
- Perl for System Administration (Perl Training Australia; full manual, pdf, 877KB)
- printf Operator (Randal Schwartz)
- References quick reference (Tye)
- Regular Expressions (Randal Schwartz)
- Schwartzian Transform (Randal Schwartz)
- 'sort' Function (Randal Schwartz)
- Storing Data: Text Files, DBM Libraries and the Storable Module (Randal Schwartz)
- Web Development with Perl (Perl Training Australia; full manual, pdf, 985KB)
Recommended Collections
- Perl Training Australia's Perl Tips. Dozens of single-topic articles.
- IBM developerWorks Technical Library (Perl articles and tutorials)
- PerlMonks collection of user-contributed tutorials
- Google Directory's listing of Perl FAQs, Help and Tutorials (but not reviewed as to which ones are recommended by this wiki)
Related Pages
Non English Tutorials
Here we collect some links to tutorials in other languages. The list is not exhaustive! If your language is not listed, use your favorite search engine to find relevant pages on the net (and perhaps add them here).
- Italian
- Corso di Perl (Michele Beltrame)