On Tue, Jan 01, 2002 at 01:20:18PM +0100, Bart Lateur wrote: > On Tue, 1 Jan 2002 11:44:11 +0000, Tim Bunce wrote: > > >> Will it leak if $dbh is a lexical, or in general? > > > >It's applying local to an element of a tied hash (or array, probably) that leaks. > > > >Google is your friend: > > > > http://www.google.com/search?q=leak+tie+local+perl > > So, is a DBI database handle a tied hash? I could be wrong, but it > doesn't look like it, to me.
It is. http://search.cpan.org/doc/TIMB/DBI_Talk5_2001/sld045.htm Tim.