Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Re: Detecting a failed DBI connectionby Massyn (Hermit) |
on Dec 08, 2002 at 23:03 UTC ( [id://218403]=note: print w/replies, xml ) | Need Help?? |
#!/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.
In Section
Seekers of Perl Wisdom
|
|