* initialize everything in the parent Apache, just make sure to create
new DBI connections in the children.
That's what I would do. It increases the amount of shared memory.
Disconnect the DBI connection when you're done with it. Apache::DBI
doesn't cache connections during startup, so
Hi,
I have some modules that use the idiom
package Foo;
use Bar;
{
my $bar = Bar-new(args);
sub bar { return $bar }
}
which works fine until one tries to preload them in startup.pl.
I realized that, by preloading, I was innocently sharing the same DBI
object between Apache children