Bizarro Perl problem

I just came across a fairly strange Perl issue:


protein => {
title => '%s release [%s]',
qq{formatdb_cmd => '-p T -t '%s' -i %s'},
filename => 'protein.fa',

Yes, there’s a typo, with the qq enclosing an entire hash entry. This doesn’t raise an error, but obviously obscures the hash entry!

Installing Catalyst on Leopard

I’ve been working with the <a href=””>Catalyst Web Framework</a> most of the summer. I just did a clean install of my system with Leopard. It’s good to flush out the pipes now and again as I’m a chronic shareware user and abuser. In the past, I’ve installed Catalyst by:


 $perl -MCPAN -e ‘install Task::Catalyst’


 $perl -MCPAN -e ‘install Catalyst::Devel’


This works well if you have a mature system and lots of modules already installed. This go around, I thought I’d try out Matt Trout’s <a href=””>Perl installation script</a>. Note that you should already have suitable CPAN configuration in place. Then:


 sudo perl cat-install


The documentation suggests stepping out for a cup of tea. Might I suggest instead coffee. And…it seems to have worked!