Perl-Sensitive Sunglasses | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Too bad you aren't checking whether your actions succeed,
and neither are you using transactions when you are modifying
your database. Now your examples are equivalent of Perl code
that isn't strict, doesn't have warnings turned on, and isn't
checking the return values of system calls.
Pity. There's no execuse to not wrap your database modifying statements inside a transaction, and to not rollback on failure. As for checking for the existance of a table, that's rather easy in Sybase and MSSQL:
Abigail In reply to Re: DBI recipes
by Abigail-II
|
|