On Fri, 2004-08-13 at 15:25, John Siracusa wrote: > What does a DBIx::* module have to do in order to correctly call > Apache::DBI's no-op version of disconnect() when running under mod_perl with > Apache::DBI?
It needs to not set RootClass. Apache::DBI essentially subclasses DBI, which is what RootClass does as well. > Run it under httpd -X to further isolate the problem and you'll see that the > first request works, but all subsequent requests fail. This happens because > the disconnect() call actually calls the "real" disconnect method instead of > the Apache::DBI implementation, which is a no-op. Why call disconnect at all? Are you trying to run this as normal CGI too? - Perrin -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html