Martin Moss wrote: > All, > > I'm trying to confirm whether Apache::DBI is running > on a server.. I can tell if it's loaded, using > perl-status, but I can't tell if it's running > correctly - e.g. intercepting calls to > DBI->connect/disconnect... > > Can anybody give me a few pointers?
>From mod_perl docs (http://perl.apache.org/docs/1.0/guide/databases.html#Debugging_Apache__DBI) If you are not sure if this module is working as advertised, you should enable Debug mode in the startup script >From the Apache::DBI docs: To enable debugging the variable $Apache::DBI::DEBUG must be set. This can either be done in startup.pl or in the user script. Setting the variable to 1, just reports about a new connect. Setting the variable to 2 enables full debug output. -- Michael Peters Developer Plus Three, LP