Perl Maven

Search for '{{search_term}}'

Perl tutorials and courses

Modern Perl Web Frameworks

  • Mojolicious light-weight web framework with rainbows and unicorns.
  • Perl Dancer light-weight web framework to rock.
  • Catalyst The MVC web framework of Perl.
  • PSGI/Plack, the low-level superglue between Perl web application frameworks and web servers.
  • CGI, the Common Gateway Interface, for old-school web applications.

Object Oriented Perl

  • OOP, the classic way to write Object Oriented Perl code.
  • Moo, the Minimalist Object Oriented system for Perl.
  • Moose, the 'post modern' Object Oriented system for Perl.

Other Series

Projects and Collections

Code-Maven series

If you are a beginner, or would like to refresh your Perl programming knowledge, you can go over the Perl tutorial or watch the Beginner Perl Maven video course.

If you need to maintain a large piece of software written in Perl by other people in the last 5-10-15 years, that's a challenge. Especially if you did not get proper training in Perl. You are probably limited to a specific and old version of Perl. Check out, the Perl tutorial! You can probably skip the part about installing Perl, but the rest of the tutorial will be relevant for you.

Perl is often used in Test Automation. If you work in this field, or if you'd like to work in this field (it is much more fun to find bugs in other people's code than in yours :), then you can read the Perl tutorial and the series on Test Automation using Perl.

If you build new web applications - either privately or inside a company - you can start by reading the article comparing CGI, mod_perl and PSGI. From there you can go on reading the generic Perl tutorial or the articles on Mojolicious, Perl Dancer, Catalyst, PSGI/Plack, or even CGI, the Common Gateway Interface, for old-school web applications.

Recent Articles

Pro: How to write to the beginning of a file?

There are plenty of articles explaining how to write to a file and how to write to a file.

We also have articles on how to read and write and if you already know how to install Perl modules then there is also the use of Path::Tiny to read and write files.

However rarely do we see articles explaining how to append to the beginning of a file or how to append to the top of a file.


How to write to the beginning of a file?


Pro: Perl Regex superpowers - execute code in substitution - what are /e and /ee ?

You are probably familiar with the power of regexes and substitution in Perl, but there are many rarely needed, but incredible features you might not know yet.

A simple example of something you are probably familiar with looks like this:

examples/regex/subst.pl

use 5.010;
use strict;
use warnings;

my $str = "abc 24 def";

$str =~ s/(\d)(\d)/$2$1/;

say $str;   # abc 42 def

Here we capture two digits in the original string and swap them.

That's nice, but what if we would like to replace the two digits by their sum?


Perl Regex superpowers - execute code in substitution - what are /e and /ee ?


How to contribute to an Open Source Perl project

In the article on how to prepare for a Perl job interview, I mentioned, one of the best ways to improve your hireability is to constantly learn new things, and constantly improve yourself.

There is a generic article on how to contribute to an Open Source project.

Let me collect a few specific related to Perl.


How to contribute to an Open Source Perl project