in reply to Modules that do Less
This is a common criticism of CGI.pm, but it's one that's totally unfair. CGI.pm makes it very simple to load just the bits of it that you need. There are a large number of export tag sets defined, it's just a case of choosing the one(s) that you need.
Like you, I find myself using the Template Toolkit for many of my CGI scripts and only use CGI.pm for the actual CGI protocol. I therefore find most of my CGI scripts starting out something like this:
use CGI qw(param header); use Template;
As an aside, Lincoln Stein has been promising to split CGI.pm into separate modules for some time, but I'm not sure how far he's got with the project.
--Perl Training in the UK <http://www.iterative-software.com>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Modules that do Less
by AidanLee (Chaplain) on Jun 12, 2001 at 18:01 UTC | |
by tye (Sage) on Jun 12, 2001 at 20:24 UTC |