July 2013 Archives

Pod Outline

I just found out I needed a tool to printout the outline of a POD file (its section structure) in order to study its conceptual structure, and notice if I need to change sections depths or just move them around.

I installed Pod::Outline but it seems it is something else.

So I put my hands on work, and wrote this: https://gist.github.com/ambs/6124610
I know it has many ways to fail, but will work on most normal cases, and is being already useful.

Hope it can be useful for some of you, too.

Dancer::Plugin::Database and Dancer2::Plugin::Database

Not sure if you already noticed that Dancer2 is already on CPAN. It is usable and in fact I know some people using it in production.

Unlike other modules that just evolved until a version 2, the Dancer team decided that Dancer2 will be a different module, and Dancer (version 1) will continue to be maintained. I do not want to discuss on whether this decision is good or bad, but it was a decision.

Now, Plugins for Dancer and Dancer2 are different. In one hand it makes it easier to write plugins for each of the Dancer versions. At the other hand, it makes it more difficult to ha…

About Alberto Simões

user-pic I blog about Perl. D'uh!