Sorry, i twas just an error in my httpd.conf. Can I access to mod_dbd function with the mod_perl? Thanks
Jérémie -----Message d'origine----- De : Robert Landrum [mailto:[EMAIL PROTECTED] Envoyé : mardi 30 janvier 2007 17:46 À : Garnier, Jeremie Cc : Modperl@perl.apache.org Objet : Re: undefined 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::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 *********************************************************************************** Information contained in this email message is confidential and may be privileged, and is intended only for use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the [EMAIL PROTECTED] and destroy the original message. ***********************************************************************************