in reply to Ignore Relation already exists error from DBI
Two remarks:
should get you started. but I strongly suggest to rethink your design! instead.$sth->execute(); # $sth is the statement-handle if ($dbh->errstr && $dbh->errstr =~ /Relation\s[a-zA-Z_-']+\salready\s +exists/) { # $dbh is the db-handle die ... }
regards,
tomte
|
|---|