Jennifer Landberg wrote: [...]
I can give you an example of when Apache will stay connected. If I connect to the database and, before the disconnect, I have a call to a subroutine that does not exist, then the script will blow up. So, it never gets to the disconnect statement resulting in the Apache process staying attached to the server.
Will adding (using the proper disconnect syntax)
END{ $dbh->disconnect if defined $dbh }
to the script work?
brad
