Re: undefined routines & mod_dbd

2007-01-30 Thread Philip M. Gollucci
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

RE: undefined routines & mod_dbd

2007-01-30 Thread Garnier, Jeremie
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:

Re: undefined routines & mod_dbd

2007-01-30 Thread Robert Landrum
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.

undefined routines & mod_dbd

2007-01-30 Thread Garnier, Jeremie
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