Perl resources
Installation and documentation
- About Perl
- cpan: Perl Source — instructions to install Perl from source
You can use perldoc
command to access documentation from the command line. You can visit https://perldoc.perl.org/ if you wish to read it online, which also has a handy search feature.
- perldoc: perlintro — introduction for beginners
- perldoc: overview — execution and options, table of contents
- perldoc: in-depth tutorials — categorized by different topics and features
- perldoc: faqs
Tutorials and Books
- Learning Perl, 8th Edition — getting started with Perl, whether you're a programmer, system administrator, or web hacker
- Perl Maven — basics of the Perl programming language. You'll be able to write simple scripts, analyze log files and read and write CSV files. Just to name a few common tasks
- Modern Perl — teaches you how Perl really works, from its philosophical roots to the pragmatic decisions that help you solve real problems and keep them solved
- Effective Perl Programming — write better, more idiomatic Perl
- Perl for newbies — provide Perl newcomers with the most high-quality and accessible material and references for learning the Perl programming language as easily, as accurately, and as efficiently, as possible
- perlmeme — FAQs, HOWTOs and TUTORIALs (working example code of various tasks in Perl like parsing CSV/HTML, creating web form, connecting to database, etc)
I wrote an ebook specifically for Perl One-Liners, which is free to read online.
Code snippets, articles and exercises
- Perl can do that now! — highlight of changes from Perl 5.10 to 5.34
- see also Perl release summary
- Rosettacode: snippets/solutions on various programming problems
- Perl Command-Line Options
- catonmat: Perl one-liners explained
- stackoverflow: Perl Q&A
- stackoverflow: interactive console for Perl
- learnxinyminutes: cheatsheet with descriptions
- Hyperpolyglot — side-by-side reference sheet for PHP, Perl, Python, Ruby
- Practice and Coding Challenges
Regular Expressions
- Perldoc guides to regular expressions
- Practice and general regexp tutorials (i.e they may not be Perl specific)
- regex101 — online regex tester, shows explanations, has reference guides and ability to save and share regex
- debuggex — railroad diagrams for regular expressions
- stackoverflow: what does this regex mean?
- regexcrossword — practice by solving crosswords, read 'How to play' section before you start, only supports JS flavor
Reading lists
- awesome-perl — curated list of awesome Perl5 frameworks, libraries and software
- perlres — list of resources about Perl
- bioperl — practical descriptions of BioPerl modules with a focus on common tasks
Raku
Formerly known as Perl 6
Forums, Blogs, Newsletters
- /r/perl/
- /r/rakulang/
- stackoverflow: perl
- stackoverflow: raku
- perlmonks
- perl.com — articles about Perl programming, news and culture
- perlweekly — once a week e-mail round-up of hand-picked news and articles about Perl