From > perldoc DBI $rc = $h->err; $str = $h->errstr; $rv = $h->state;
You should look at the docs for DBI, error handling is described in detail. That should get you started.... http://danconia.org aman cgiperl wrote: > Hi All > Is there a way to check the status of $sth->execute; to check if it successfully >executed. > Also if I pass on a query to a mysql database using perl's DBI, and suppose it runs >into error, how can I capture that error. > Thank you > Aman > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]