[cgiapp] cached DBI connections with cgiapp/fastcgi

Benjamin Hitz hitz at genome.stanford.edu
Fri Oct 24 16:33:08 EDT 2008


On Oct 24, 2008, at 1:24 PM, Michael Peters wrote:

> 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".


Actually this doesn't work for me, I guess sometimes the BEGIN implied  
in use goes before the explicit BEGIN.

Ben
--
Ben Hitz
Senior Scientific Programmer ** Saccharomyces Genome Database ** GO  
Consortium
Stanford University ** hitz at genome.stanford.edu





More information about the cgiapp mailing list