|Problems? Is your data what you think it is?|
dbh->disconnect or leave to scopeby Cagao (Monk)
|on Jan 17, 2011 at 17:33 UTC||Need Help??|
Cagao has asked for the
wisdom of the Perl Monks concerning the following question:
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.