Perl Monk, Perl Meditation | |
PerlMonks |
Re: Ignore Relation already exists error from DBIby Jonathan (Curate) |
on Feb 20, 2003 at 11:27 UTC ( [id://237049]=note: print w/replies, xml ) | Need Help?? |
If you just want to ignore the table creation error why not perform the sql in a block with local overrides for DBI's RaiseError and PrintError methods? You will, of course, have to then explicitly test your SQL statements outcome but you will have complete control over what is fatal and what you're happy to ignore.
perldoc DBI for more information
In Section
Seekers of Perl Wisdom
|
|