A Subtle Bug

Buggy Code

Earlier this week, I saw this code being recommended on Stack Overflow. The code contains a nasty, but rather subtle bug. The version I saw has been fixed now, but I thought there were some interesting lessons to learn by looking at the problems in some detail. Let’s start by working out what the bug […]

Please Don’t Use CGI.pm

CGI.pm in the Bin

Earlier this week, the Perl magazine site, perl.com, published an article about writing web applications using CGI.pm. That seemed like a bizarre choice to me, but I’ve decided to use it as an excuse to write an article explaining why I think that’s a really bad idea. It’s important to start by getting some definitions […]

Professional Programmer is Professional

Professional programmer is professional

(The image above was the first result I got when searching Google Images for a CC-licensed image for “professional programmer”.) Two weeks ago, I wrote about the SEO workshop I’m running on Tuesday morning just before The Perl Conference in Glasgow this August. Today, I’d like to give a few more details about the other […]

Line of Succession

I’m a republican. No… wait… come back! That’s not what I mean. I’m a long way from being a supporter of the Republican Party. I mean “republican” in its older meaning of “someone who thinks their country should be a republic. That is to say, I’m not a big fan of the British royal family. […]

Timeline Diagrams with Perl

Diagram of the "begat" sequence from Genesis 5

Two weeks ago, I introduced you to my new module SVG::TrafficLight and hinted that there were more SVG-based modules to follow. Today, I’d like to talk about the next one – SVG::Timeline. It all started over a year ago when I was looking through some of the more ridiculous religious questions on Quora when I […]