in reply to forks.pm, CGI::App,TT and DBD::mysql
The problems you are seeing when you are forking are because you are getting a copy of your DB handle in your child processes this is going to cause problems when they go out of scope or whatever. Either disconnect before you fork or connect after so this doesn't happen.
/J\
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: forks.pm, CGI::App,TT and DBD::mysql
by perldragon80 (Sexton) on Jul 30, 2004 at 23:34 UTC | |
by BrowserUk (Patriarch) on Jul 30, 2004 at 23:54 UTC | |
by perldragon80 (Sexton) on Jul 31, 2004 at 04:06 UTC | |
by BrowserUk (Patriarch) on Jul 31, 2004 at 05:06 UTC |