Fred Moyer wrote: > On Tue, Jul 21, 2009 at 8:39 PM, Adam Prime<adam.pr...@utoronto.ca> wrote: >> Adam Prime wrote: >>> What I wanted to do was fix this issue: >>> >>> http://rt.cpan.org/Public/Bug/Display.html?id=36346 > > I was just looking over your original code where you connect() in > startup.pl. Won't that cause issues since the database handle will be > forked also? Here's what I have in my startup.pl:
The code in the ticket was just to illustrate the failure. I ran into this problem because I wanted to preload a large read-only datastructure out of the database prior to the fork to get it completely shared between all the children. The handle itself is then disconnected and discarded. Adam --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@perl.apache.org For additional commands, e-mail: dev-h...@perl.apache.org