http://www.perlmonks.org?node_id=123758

I finally got a CGI script to play nicely with forking and doing some DBI work on both the parent & child processes. The database handle was created before the fork and before the 'enlightenment', I was using the same db handle variable in both processes, which led to some very strange results.

To fix this, I created a new db handle within the child process, and all was peachy again. :)

Jason