perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Landrum <rland...@aol.net>
Subject Re: undefined routines & mod_dbd
Date Tue, 30 Jan 2007 16:46:10 GMT
Garnier, Jeremie wrote:
> use Apache2::Module ();
> 
> # test if an Apache module is loaded
> 
>   if (Apache2::Module::loaded('mod_dbd.c')) {
> 
>       …
> 
>   }
> 
> But it dones:
> 
> Undefined subroutine &Apache2::Module::loaded call at…

I suspect that this may be because you're not actually running in 
mod_perl.  Aside from that, I don't see any methods actually defined in 
Apache2::Module::loaded...  not even a bootstrap.  So it might need to 
be loaded from something like Apache2.

Rob

Mime
View raw message