Re: Alternatives to Apache::DBI?

2009-10-04 Thread David E. Wheeler
On Oct 4, 2009, at 10:17 AM, Bill Moseley wrote: This looks nice. Thanks. I don't use Apache::DBI, but this will be good for general connection and transaction support. I simply use connect_cached now with { privite_pid = $$ } but that doesn't allow me to set InactiveDestroy (although I'm

Re: Alternatives to Apache::DBI?

2009-10-04 Thread Fred Moyer
On Sun, Oct 4, 2009 at 10:17 AM, Bill Moseley wrote: > > On Fri, Oct 2, 2009 at 7:40 PM, David E. Wheeler > Is the history of the ping to catch connections that have been inactive for > a long period and perhaps timed out?  I've thought about only issuing the > ping if the $dbh hasn't been fetche

Re: Alternatives to Apache::DBI?

2009-10-04 Thread Bill Moseley
On Fri, Oct 2, 2009 at 7:40 PM, David E. Wheeler wrote: > On Oct 2, 2009, at 9:30 AM, Kurt Hansen wrote: > > I'm wondering what techniques folks are using to get persistent database >> connections other than Apache::DBI. >> > > I plan to release a new module, DBIx::Connection, on Monday. It's bas

Re: Threading inside a handler script

2009-10-04 Thread Aku Kauste
Thanks Liz, Forks does exactly what I wanted to do. -Aku On Sat, Oct 3, 2009 at 8:54 PM, Elizabeth Mattijsen wrote: > On Oct 3, 2009, at 2:32 PM, Perrin Harkins wrote: >> >> On Fri, Oct 2, 2009 at 9:34 AM, Aku Kauste wrote: >>> >>> Well, obviously this doesn't work and I end up getting "child