Perl Maven

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.

In the off chance you are interested in topics other than Perl, especially related to Test Automation, Continuous Integration, Continuous Deployment, DevOps, then you are welcome to check out the list of DevOps related training courses.

Recent Articles

qx or backticks - running external command and capturing the output

People knowing shell are familiar with the back-ticks `` that allow us to execute external commands and capture their output. In Per you can use the back-ticks or the qx operator that does exactly the same, just makes the code more readable.

In Perl there are several ways to run external programs depending on your needs. For example you can use system to run external programs without capturing output. This time we look at the backticks and qx.

qx or backticks - running external command and capturing the output

Merge hashes of arrays

Given two (or more) hashes, where each value is a reference to an array how can we merge them?

Two solutions.

Merge hashes of arrays

Transpose a Matrix (Arrays or Arrays)

While Perl arrays can only be one-dimensionals, each value can be a reference to another array and then it could look like as if it was a 2 or more dimansional array.

If each element of an array is a reference to another array, and if each one of the internal arrays has the same number of elements then it will look like a matrix.

A matrix can be transposed. (Replace the rows by arrays.)

Transpose a Matrix (Arrays or Arrays)