Michael D Schleif <[EMAIL PROTECTED]> [2003:12:17:22:37:36-0600] scribed:
> I am running Debian:
> 
>    # COLUMNS=120 dpkg -l '*apache*' | grep ^i | cut -c 1-50
>    ii  apache                   1.3.29.0.1-2         
>    ii  apache-common            1.3.29.0.1-2         
>    ii  apache-utils             1.3.29.0.1-2         
>    ii  libapache-mod-jk         3.3a-4woody1         
>    ii  libapache-mod-perl       1.29.0.1-2           
> 
> When I goto:
> 
>    <http://localhost/perl-status?inc>
> 
> I get a list of loaded modules.  Obviously, if I want others loaded, I
> have options, such as:
> 
>    PerlRequire startup.pl
> 
> How do those particular modules get loaded by default?
> 
> Where is there a configuration file for this?
> 
> Is it safe to assume that this particular set of default Loaded Modules
> will persist across version upgrade?
> 
> What do you think?

Here is an example that confuses me.  Without any PerlRequire, I find
this is already loaded:

   Package Version Modified                 File
   CGI     3.00    Sat Nov 15 02:07:41 2003 /usr/share/perl/5.8.2/CGI.pm

If I PerlRequire this, everything is OK:

   use CGI ();
   CGI->compile (':all');

If I PerlRequire this:

   # use CGI ();
   CGI->compile (':all');

I get these errors:

   # sudo apachectl configtest
   Processing config directory: /etc/apache/conf.d
   [Thu Dec 18 00:09:16 2003] [error] Can't locate object method "compile"
   via package "CGI" (perhaps you forgot to load "CGI"?) at
   /etc/apache//startup.pl line 5.
   Compilation failed in require at (eval 4) line 1.

   Syntax error on line 1021 of /etc/apache/httpd.conf:
   Can't locate object method "compile" via package "CGI" (perhaps you
   forgot to load "CGI"?) at /etc/apache//startup.pl line 5.
   Compilation failed in require at (eval 4) line 1.

If this stuff is covered in TFM, please, direct me to the appropriate
passages.

-- 
Best Regards,

mds
mds resource
877.596.8237
-
Dare to fix things before they break . . .
-
Our capacity for understanding is inversely proportional to how much
we think we know.  The more I know, the more I know I don't know . . .
--

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to