From: Jochen Wiedmann Date: December 10 2001 5:16pm Subject: Re: list of open DB handles? List-Archive: http://lists.mysql.com/perl/1562 Message-Id: <1008004586.3c14edea23f1a@webmail.LF.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Zitiere Bernd Prager : > I would like to write a kind of general cleanup subroutine for the > database handles when my program ends. Something like: > $SIG{__DIE__} = $SIG{__INT__} = $SIG{__QUIT__} = \&cleanup. > > Is there a way to determine all the open DB and statement handles? See the standard DBI attributes like "Kids", "Active_Kids", and so on.