If you use CGI just for the headers, parameter parsing, cookie handling and file uploads (i.e. everything except the HTML-routines), you could consider using
CGI::Simple instead. It is a drop-in replacement for CGI.pm
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law