Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Knowing if an Operation is Successful in MySql

by ehdonhon (Curate)
on Nov 14, 2003 at 12:59 UTC ( #307034=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      if ( $dbh->do( $command ) ) {
         &success;
      } else {
         &failure;
      }
    
  2. or download this
      if ( 0 + $dbh->do( $command ) ) {
         &success;
      } else {
         &failure;
      }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://307034]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2023-12-07 13:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (32 votes). Check out past polls.

    Notices?