Bizarro Perl problem

June 14, 2008

I just came across a fairly strange Perl issue:

Consider:

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!

Bookmark and Share

Leave a Comment

Previous post:

Next post: