> > 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.
>
> really? when did that change? As much as I know, Apache::Registry scripts
> always run END blocks.
> http://perl.apache.org/guide/porting.html#END_blocks

Right, my mistake.  I was thinking about BEGIN blocks and Registry vs.
PerlRun.
- Perrin

Reply via email to