Help for this page
disconnect invalidates 1 active statement handle DBI::db=HASH(0x8320754)->disconnect invalidates 1 active statement han +dle (either destroy statement handles or call finish on them before d +isconnecting)
use DBI; my $dbh = DBI->connect($location, $user, $ba_pass, { RaiseError => + 1, AutoCommit => 1}) or die "Couldn't connect to database: " . $DBI: +:errstr; ... $dbh->disconnect; }