Robert Landrum wrote:
> 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.
mod_dbd is not yet wr
fined routines & mod_dbd
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:
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.
Hi all,
I try to make this:
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...
So why does it not work??
It is possible with mod_perl to access to a