[cgiapp] Lazy DBI

Mark Knoop mark at rawcane.net
Tue Feb 19 11:40:42 EST 2008


> On Feb 19, 2008 5:02 AM, Mark Knoop <mark at rawcane.net> wrote:
>> I would be interested to know of any flaws in my logic...
> 
> This is okay for CGI.  It would not be good for any persistent
> environment like FastCGI, PerlEx, or mod_perl.  It those environments
> it will break if your database connection times out from inactivity or
> if you restart your database server (it won't reconnect on the next
> request).

This is a pre-sorting-mod_perl-out workaround. Thanks for the tip though.

Mark


More information about the cgiapp mailing list