Issue #43 - 2012-05-21 - Perl 5.16 has been released to the public!

latest | archive | edited by Gabor Szabo
This edition was made possible by the supporters of our cause.
Don't miss the next issue!


Last week I managed to make a copy-paste error and thus the link that was supposed to lead to my Dancer article lead to some other page. Luckily it was not some totally offensive page. I've included the same post with a - hopefully correct - link. Sorry for the inconvenice and thanks to those who mentioned it to me!

I noticed there are several people now watching the Perl queue of StackOverflow, picking up questions and posting an article with the solution. I think this is an awesome trend! Thanks to Miguel Prz (niceperl) for his weekly 'Perl on StackOverflow' report that probably have a great impact on this trend.

Now to the posts...

Gabor Szabo


Perl 5.16.0 is now available!

by Ricardo Signes (RJBS)

Ricardo Signes has announced the release of Perl 5.16. I would warmly recommend to download the source code version, compile it and send a thank you note to the Perl 5 porters who have been working hard to produce this release. Then test your source code with it and report any issues caused by the new release.


Announce: WWW::Scraper::Wikipedia::ISO3166

by Ron Savage (RSAVAGE)

As a follow-up to last week's discussion, Ron Savage release v1.01 of WWW::Scraper::Wikipedia::ISO3166 that ships an SQLite database of countries and subcountries, and an interface to that db. He even explaines what is a subcountry.

CPANdeps now understands META.json files

by David Cantrell (DCANTRELL)

CPANdeps, created and maintained by David Cantrell, provides a way to see all the dependencies of any give CPAN distribution along with the success rate of its tests. It helps you identify which ones of the prerquisites of a module might be problematic to install.

Using AND metacpan

by Arthur Axel "fREW" Schmidt (FREW)

fREW Schmidt created a greasemonkey/dotjs script and visit . Run a search there. The results will link to MetaCPAN.

Major changes to column binding in Perl DBD::ODBC

In his post Martin Evans described the changes and soliciting comments. If you are using DBD::ODBC, I'd recommend reading the post and commenting on the changes. The new version will be released soon and you'd better discuss the changes now than complain later.


Interview With Ward Cunningham

Dr. Dobbs has published an interview with the inventor of the wiki and long time Perl hacker, Ward Cunningham. There are some interesting parts about 'technical debt' and 'refactoring'. Comparing that with the idea of 'If it is not broke, do not fix it' and the idea of 'Do the simplest thing that could possibly work'. These all sound like contradicting each other. On the 4th page he talks about Perl.

An Introduction to Application Development with Catalyst and Perl

Henry Van Styn published an article in the Linux Journal with step-by-step instuction to build your first Catalyst based web application.

Setting up Gearman

by Sebastian Willing (SEWI)

Gearman is a Job server originally written in Perl (though it also has a C and a Java implementation now). Sebastian Willing started a series writing about it.

New Type Constraint Module for Perl

by Dave Rolsky (DROLSKY)

Dave Rolsky has uploaded an alpha version of his new type-system that is supposed to fix some if the flaws of Moose's type system and that of MooseX::Types. (Hmm, I was not aware of those).

Execute and Share Your Perl Code on a Remote Server

Christopher Frenz point out two services: and, that allow execution of Perl scripts by the casual visitor. I have not tried them yet but these could be great educational tool. Though I am not sure if in Perl programming or in security flaws?


Use of DBI in Sqitch

I am sure you remember the earlier posts of David E. Wheeler about the Squitch program he is writing. Now he posted an issue which was very surprising to me. Should he use DBI to access the databases or should he use the command line clients? To me it was surprising especially as it seemed he is leaning towards the command line cliens. I would not even give them a chance. See the comments as well!


Updating all outdated Perl modules

by Sinan Unur (NANIS)

This is not good for strict versioning of the dependencies you are using, but during development, or just for fun, it is very useful to upgrade all the modules you have installed to their latest version. See the solutions of Sinan Unur using cpan-outdated and cpanm.


A Quick Look at the Blekko Search API

Though I have some reservations with the code that does not use warnings, it is nice to see a small example running a query on the Blekko search engine and processing the resulting XML.

Separating Presentation from Content in Templates

Responding to the commends on his earlier post, chromatic shows us how he uses Template::Toolkit. I must say this is too much for me. He is embedding even some Perl code in the template. While this is very powerful I am not sure if this is not the slippery road that leads to PHP/JSP/ASP style coding, where we mix too many languages in the same file.

Open URLs from the CLI

One solution for opening URLs in an IRC session (using irssi) written in Perl by Dominic Humphries.

Easy text/html multipart emails with Email::Simple::Markdown

by Yanick Champoux (YANICK)

Yanick Champoux announcing the new module and showing an example so he can avoid using the slightly complex Email::MIME, or more importantly, so he can write his e-mails in Markdown format that will be converted to either HTML or Text or both.

Test-driving Reflex

by Yanick Champoux (YANICK)

Reflex is a Moose-based event-driven system built on top of POE. Yanick Champoux creates and explains a job daemon that can poll various jobs and process them.

Using Mojo::DOM

by Joel Berger (JBERGER)

Mojolicious is mostly known as a framework to build web applications, but in this article Joel Berger uses its DOM parsion capabilities to download a web page and fetch some specific information from that page. (opening time of a shop in this case).


Leaflets for YAPC::Asia Tokyo 2012

by Daisuke Maki (DMAKI)

Daisuke Maki (lestrrat) is showing use some leaflets they have prepared to explain what YAPC is for people who are not familiar yet. We should all learn from the Japanese how to promote Perl and our Perl related events.


Repeated Capturing and Parsing

Chris Grau describes a problem that came up on their internal company Perl mailing list. (Stop here, how many companies have internal mailing lists for Perl?!) Then he goes through several solutions. One even using Regexp::Grammars. Then Marcel Grünauer comes up with a one-liner that at first sight seem to provide the same results. In any case, one can learn a lot from this.

Who is using Regexp::Grammars ?

by Laurent Dami (DAMI)

Just a few hours after the above post, Laurent Dami tells us he has been using Regexp::Grammars for some project but thinks too few CPAN modules use it. Why?


Cooking Perl with Chef - Grant Report #3

by David Golden (DAGOLDEN)

David Golden reports his progress releasing a new version of Pantry that adds command line configuration to Chef nodes.

Perl 6

t4: Hex puzzle

by Carl Mäsak

Carl Masak returns to the Perl 6 Coding Contest.


vim snippet to generate package name from the filename

by Chris Weyl (RSRCHBOY)

Are you tired of typing in the package name of a new module? Now, thanks to the vim Fu of Chris Weyl you can eliminate that frustration.

(xxix) stackoverflow perl report

by Miguel Prz (NICEPERL)

The weekly report of Miguel Prz (niceperl) with the ten most rated Perl-related questions at Stack Overflow.

The self promotion section

Registration process with Perl Dancer

A very simple version of double opt-in registration: Let visitors type in an e-mail, and send them a code so they can verify they are in control of that address. (hopefully now with the correct link)


I usually list the next 3-4 events here. The list of all the events can be found on on the web site. If your Perl event is not in the list, let me know.


June 13-15, 2012, Madison, Wisconsin, USA

French Perl workshop

June 29-30, 2012, Strasbourg

Quack And Hack 2012

June 30-July 1, 2012, Philadelphia

YAPC::EU 2012

August 20-22, 2012, Frankfurt, Germany

If you are wondering why is the Nordic Perl Workshop listed, that event was postponed to October

You know, you could get the Perl Weekly right in your mailbox. Every Week.
Free of charge!

Just ONE e-mail each Monday. Easy to unsubscribe. No spam. Your e-mail address is safe.
Perl Weekly on Twitter RSS Feed of the Perl Weekly. Updated once a week