Gluu fer the Wëëbb Part 1

Having been a fan of Mojolicious for a few years it is only reasonable that I pick it as the platform but this time instead of going with my usual default layout and architecture I wanted to give the Toto plugin a whirl.

This plug-in provides a bootstrap flavoured navigation framework. So you can get a nav bar running across the top one, a side bar for and a row a and also a row of tabs underneath each side bar.

Well out of the box with about 3 mins worth of install and a cut and paste from the PDO one gets this


Ok that was painless it even gives you a little hint at what the controller is doing on the side for Toto newbies like me.

Well lets goes back a second and think what I need to display for my AD&D Moose stuff. Well I really just have two parts done so far,

  1. Create a Character and
  2. Display a Character

Strawberry Perl released

Strawberry Perl is available at
(all editions: MSI, ZIP, PortableZIP for both: 32/64bit MS Windows)

More details in Release Notes:

I would like to thank our sponsor for resources provided to our project.

CPANdeps pass/fail display now working again

Some months ago the way that third parties got access to the CPAN-testers results database changed. Instead of just downloading a SQLite database, there is now an API. This is good. It means that to get all the new reports since your last query, for example, you only need to transfer a few reports across the network instead of downloading all 40 million-odd records every time.

The change was well-publicised in advance, with a fairly long deprecation cycle. But I just never had the tuits to make the changes I needed, and so eventually that part of CPANdeps just stopped updating. It was still reporting dependencies OK, but didn't have any pass/fail data after a particular date.

Well, I'm pleased to say that it's back. Most of the work was actually done by Andreas König, whose script I am using as a shim to import data into the database that the rest of my code expects. I've also made a few other tiny changes which most of you won't notice, and also made the scripts that build the site rather more efficient so that they won't hammer so hard when populating the site's metadata cache.

Next on my to-do list is to make the same fix to cpXXXan.

Moose to The Resque

Well not really but it did save me a good deal of time. I have been slowly putting together a small stand alone web app with Mojolicious to trunly demonstate what I have been doing with all these Moose posts.

Well I was just setting up a controller (using Mojolicious::Lite here to save space) and was creating my first form and like I many I have created before I started with a validator; something like this

app->validator->add_check(range => sub {
  my ($validation, $name, $value, $min, $max) = @_;
  return $value < $min || $value > $max;

post '/create' => sub {
  my $self = shift;
    my $validation = $self->validation;
    $validation->required('strength')->size(1, 2)->range (3,18);
    $validation->required('intelligence')->size(1, 2)->range (3,18);

and then I though 'I am just recreating all that validation that I already have in my 'RPG::ADD::Character' class' So why not let Moose validate itself?

Github cheat sheet

Relief from Regexes

As most of the readers on this blog know that my sys-admin skills are not on the high side. Well also one thing that I am very poor at is regexes. I know I hold my head in shame in this, I just never used them very much and most of my programming hasn't been in the area of text processing so I have never use them very much.

Most of the time when I run into a regex I can figure out what is going on but when the complex ones come into play I am just flustered.

Well I stumbled across this today Padre::Plugin::RegexExplain well not as powerful as my old standby The Regexe Coach

Well it was easy enough to install and when I called it up I got this


Ok simple enough UI lets test it with a regex that always torments me is extracting dates out of a string.

Here is the one I usually have grief with

m|(\d+)/(\d+)/(\d+) (\d+):(\d+):(\d+)|

Perl-Operated Boy

And now for something completely different.

Adopting DateTime::Format::Mail

Finally pushing my first release of this distribution is a special moment to me.

Its original author, Iain Truskett (SPOON), died on December 29th, 2003. He was 24. Back then, I didn't know him, had never interacted with him, or even used any of his modules. That was ten years ago.

About is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is run by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.