Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Perl/SQL Queryby gmax (Abbot) |
on Sep 19, 2003 at 21:28 UTC ( [id://292762]=note: print w/replies, xml ) | Need Help?? |
The short answer to your question is "yes, there is," but the explanation would require much more text. Almost every method in the DBI can be tested for a return value to signify success or failure. Some return just a "true" value, some return an object, some return a count of something that was done (e.g. a row count for update, insertion, or deletion). I recommend that you get to reading some documentation, and you should start from our Tutorials. In particular, read Reading from a database and Tricks with DBI. Also, it may be enlightening for you to read Before asking a database related question ....
In Section
Seekers of Perl Wisdom
|
|