If your database handle is invalid you cannot call disconnect on it. Also, RaiseError elevates a failure to connect to an exception. You'll have to trap that in an eval, or not use RaiseError.
Dave
In reply to Re: What to do when DBI connect fails
by davido
in thread What to do when DBI connect fails
by dr.jekyllandme
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |