I am gradually
moving to mod_Perl using Apache::PerlRun instead of Apache::Registry. I am
also considering switching from cgi-lib.pl to CGI.pm however I hear CGI.pm takes
longer to load. Will CGI.pm automatically be cached, thereby eliminating
the performance hit, by handling the scripts with Apache::PerlRun or do I have
to preload the modules at server startup using PerlModule
CGI;
If I preload, do I
have to put a PerlModule CGI; within every <VirtualHost> directive or just
once in the httpd.conf and it will apply to all
virtualhosts.
And finally if I
want to run CGI.pm in CGI-LIB compatibility mode, do I have to use a startup
file instead or can I say:
PerlModule CGI
qw(:cgi-lib); I'm guessing I have to put it in a startup
file??
Thanks