Why Should I Listen To You?
Fragmented observations of a fractured lifestyle.
April 30, 2008 Remembering CGI

Matt has a neat little gatekeeper to his comments facility. Thanks to his kindness, I have it in my hand - it's in PHP.

As is my wont, I am rewriting it in Perl.

I have been trying to remember how to write CGI scripts.

This didn't go too badly until I tried to debug it, which was arguably my only justification for the rewrite. I couldn't remember how to turn on the debugging feature of supplying arguments interactively.

The answer is this -

use CGI qw(:standard -debug);

Obviously, I am only blogging about this so that I can find it again later!

The Perl script is working as I expect, more or less, so I will try to install this tonight and then turn comments back on.

Posted by Dunx at April 30, 2008 11:32 AM
Comments