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.

Recent Articles

A bunch of Perl one-liners to edit HTML files

At one point I set up a Wordpress server to allow my sister to edit her own web site about Yiddish and Yoga. I thought I'll use it as a way to force myself learn the ins and outs of Wordpress and Wordpress hosting.

My sister learned how to use Wordpress and even managed to create her own pages, but after 4 years of neglecting to upgrade the server I finally made the decision to convert the site to a bunch of static pages.


A bunch of Perl one-liners to edit HTML files


CSV_XS ERROR: 2034 - EIF - Loose unescaped quote @ rec 5 pos 194

What if you get an error like in the title while reading a perfectly good looking CSV file?


CSV_XS ERROR: 2034 - EIF - Loose unescaped quote @ rec 5 pos 194


Reading configuration INI files in Perl

The INI file format is a simple file format that allows 2-level configuration options. It was extensively used in MS DOS and MS Windows, and it can be used in lots of places as it is very simple.

examples/config.ini

[openweathermap]
api = asdahkaky131

[aws]
api_key = myaws7980
api_code = qkhdkadyday

[digital_ocean]
api = seaworld

This format consists of section names (in square brackets) and in each section key-value pairs separated by and = sign and padded by spaces.


Reading configuration INI files in Perl