perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Batara Kesuma <bkes...@ml.gaijinweb.com>
Subject Closing DB handler with PerlCleanupHandler
Date Wed, 10 Nov 2004 02:47:43 GMT
Hi,

How can I pass $dbh value from PerlResponseHandler to PerlCleanupHandler
to be disconnected? My scripts are running in ModPerl::Registry, and I
don't want to do $dbh->disconnect() at the end of every scripts. So I
try to write a module in PerlCleanupHandler to clean up the DB handler
at the end of every request. 

--bk


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Mime
View raw message