News for April 2011

Introducing utf8::all

Perl programmers are probably all aware of the utf8 pragma, which turns on UTF-8 in your source code. This is actually a stumbling block for new programmers, who might think that utf8 makes your filehandles use UTF-8 by default, or automagically turns incoming data into UTF-8, and ensures outgoing data is all UTF-8 as well. Sadly, that's not the case.

However, one of the great things about perl5i is that it turns on Unicode. All of it. (more…)

How do you watch CPAN modules of interest?

This post is really a request for advice. I'm sure there must be a solution out there, I just haven't found it yet.

Imagine you have a module that pulls in a bunch of prerequisites. You want to watch those prerequisites (and maybe all the way down the the dependency tree) for test failures. Maybe you also want to be notified of new releases. You might even want to try extracting the most recent section of the changelog.

What's the best way to get these sorts of notifications? If you can't get it all from one place, is there a tool to aggregate the data sources? If not, that sounds like an interesting project...

Another word on namespaces

Kent Frederic's recent post about Dist::Zilla minting profiles was a great overview of the subject, but because I try to follow best practices, I was struck by the section "A word on namespaces."

Kent recommends that if you're making an author pluginbundle, you should name it Dist::Zilla::PluginBundle::Author::$CPANID. This extra bit of namespacing makes life easier for many people in many ways. I was immediately convinced that he was right, and moved my author stuff into appropriate author namespaces