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

Convert list to table and add jQuery tablesorting with Date column

Now that in the list of items we also show the dates, it start to look like a mess. It also provides an opportunity to see how to sort the displayed data.

We originally used an unordered list ul to display the items and each item was a list item li, but this kind of data really hands itself to be in a table. Even if HTML tables are not popular these days.

Actually I wonder if there is a div-based solution for this, that provides some extra flexibility.


Convert list to table and add jQuery tablesorting with Date column


Add a date stamp to the items in the database

In order to expand the example, first we will add a timestamp to each item as it is inserted in the database and list the date on the web page when listing the items.


Add a date stamp to the items in the database


Implementing 'is_any' to test multiple expected values

Previously we wrote a script to test the dice() function of our new start-up company. We made some nice progress, but we found that we have almost exactly the same code several times in our script. We would like to eliminate the duplication by moving the code in a subroution called is_any.

is_any will receive 3 parameters: The first is the actual result of the function under test, the seconds is a reference to an array listing all the acceptable values. The third is the optional name of the test.


Implementing 'is_any' to test multiple expected values