- or download this
require DBI;
require DBD::mysql;
- or download this
$statement = ....
$sth = $dbh->prepare($statement)
$rv = $sth->execute
@info = $sth->fetchrow_array;
$rc = $sth->finish;
- or download this
our $database;
$dbh = DBI->connect("DBI:mysql:$database");
- or download this
$dbh->disconnect;