> "DJ (David J Radunz)" wrote:
> I am having a problem with a module im writing connecting to the
> database everytime its run, and not cleaning up the database
> connection when its finished.
Your script uses an END block to disconnect. If you use
Apache::Registry, that will not be run until the server is shut down.
With Apache::DBI, you should get one connection per Apache process, and
they'll stay open. If you are changing the login parameters (i.e.
different user each time), you can't use Apache::DBI because you'll get
a huge build-up of connections.
- Perrin