- or download this
$sth->execute($login, $passwd) or die $dbh->errstr;
- or download this
$dbh = DBI->connect($data_source, $user, $password) or die $DBI::errst
+r;
- or download this
$dbh = DBI->connect($data_source, $user, $password, {
RaiseError => 1});