Hi all,
I don't tend to use dbi->disconnect at all, and just let the scope deal with it, as I've seen in some docs.
Is there any benefit to explicitly disconnecting (especially in a mod_perl environment)?
Any DB work is contained in classes and methods, so never at a top-most level, ie in handler code.
Thanks in advance for any advice.
In reply to dbh->disconnect or leave to scope by Cagao
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |