我寫了下面的代碼:DBD :: SQLite的斷開
$dbh = DBI->connect('dbi:SQLite:mysqlite.db', "", "") || die "Cannot connect: $DBI::errstr";
my $sth = $dbh->prepare("select value1, value2 from valus_table where value2 = 4");
$sth->execute();
while (my @row = $sth->fetchrow_array) {
print $row[0], $row[1], "\n";
}
$sth->finish;
$dbh->disconnect();
,並得到這樣的警告:
closing dbh with active statement handles at mysqlib.pl line 23
有人能解釋這個警告信息的含義?