in reply to Perl/SQL Query
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