Please Don’t Use CGI.pm

Put 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… Continue reading Please Don’t Use CGI.pm

Easy PSGI

When I write replies to questions on StackOverflow and places like that recommending that people abandon CGI programs in favour of something that uses PSGI, I often get some push-back from people claiming that PSGI makes things far too complicated. I don’t believe that’s true. But I think I know why they say it. I… Continue reading Easy PSGI

The Long Death of CGI.pm

CGI.pm has been removed from the core Perl distribution. From 5.22, it is no longer included in a standard Perl installation. There are good technical reasons for this. CGI is a dying technology. In 2015, there are far better ways to write web applications in Perl. We don’t want to be seen to encourage the… Continue reading The Long Death of CGI.pm

Removing Modules from Core

I was on holiday last week and missed most of the discussions about removing Module::Build and CGI from the Perl core in the next few years. I hope you won’t mind if I chime in a little late with my thoughts. Module::Build I’m a little bemused by the Module::Build story. Well, perhaps “bemused” isn’t quite… Continue reading Removing Modules from Core