perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias>
Subject Re: (Database-)Object initialization during server-startup
Date Fri, 23 Jun 2006 13:35:29 GMT
Zitat von Perrin Harkins <>:

> > Create a new instance of the mod_perl handler module during startup and
> > refer to that for the handlers (code below).
> > This module would then cache DB connections and provide a method for
> > 'create or fetch current DB connection'.
> DBI->connect_cached will do all of this for you.

Yeah, looks like connect_cached coupled with a different way of
obtaining the database handle is the solution for my problem, too.
Works perfectly!

Thanks a lot, Perrin!


View raw message