From: Sebastian probst Eide Date: 2007-05-25T23:50:39+09:00 Subject: Re: Memory leak > IIRC DBI also supports the block form for opening and closing, so you > should rather do > > DBI.connect("DBI:Mysql:test:localhost", "root", "") do |dbh| > ... > end > > robert Thanks for the tip! I'll use that instead. -- Posted via http://www.ruby-forum.com/.