[cgiapp] cached DBI connections with cgiapp/fastcgi

Michael Peters mpeters at plusthree.com
Fri Oct 24 16:24:49 EDT 2008


Perrin Harkins wrote:
> On Fri, Oct 24, 2008 at 4:20 PM, Benjamin Hitz <hitz at genome.stanford.edu> wrote:
>> In case anyone was wondering about this head scratcher - you have to set
>> DBI_TRACE before you load DBI.pm.
> 
> You can just call DBI->trace() instead.

Or put
BEGIN { $ENV{DBI_TRACE} = 1 }
before your "use DBI".

-- 
Michael Peters
Plus Three, LP



More information about the cgiapp mailing list