in reply to Disconnecting in Class::DBI vs. 3.0.14

BPP::DBI->db_Main->disconnect();
Note that this will probably work with the default implementation of db_Main, but strictly speaking Class::DBI shouldn't know what db_Main does as long as it returns a DBI handle, so it might open up a new database connection for every call, or use a pool or whatever.

Replies are listed 'Best First'.
Re^2: Disconnecting in Class::DBI vs. 3.0.14
by mikasue (Friar) on Sep 27, 2006 at 19:11 UTC
    THANKS!