in reply to How should I handle $sth->execute() errors?
$sth -> execute or $dbh -> errstr =~ /table \w+ already exists/ or die $dbh -> errstr; # Or warn. [download]
Abigail