Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Detecting a failed DBI connection

by Massyn (Hermit)
on Dec 08, 2002 at 23:03 UTC ( #218403=note: print w/replies, xml ) Need Help??


in reply to Re: Detecting a failed DBI connection
in thread Detecting a failed DBI connection

#!/fellow/monks.pl

Thanks! You put me on the right track, but the code didn't work. For some reason, $dbh->errstr doesn't cut it. I looked it up, and found that $DBI::errstr did the trick.

Thanks!

#!/massyn.pl

You never know important a backup is until the day you need it.

  • Comment on Re: Re: Detecting a failed DBI connection

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2023-12-07 14:21 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?