This would be one place to either:
1) NOT use 'RaiseError=>1' and check every DBI statement and handle
failures however you want.
OR
2) use 'RaiseError=>1' on the connect, but do it in an eval block
and skip this database if the connect fails.

-----Original Message-----
From: Gilmour Sean-WSG014 [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 9:55 AM
To: '[EMAIL PROTECTED]'
Subject: DB connection problems


Hi,
   I have a number of scripts which pull info from remote database's, this
info is in turn loaded into a local db for metrics.
The problem I have is while the script runs no problem, if one of the remote
db's is down it bombs the whole script, is there any way to skip if there is
a error ? 

Thanks in advance.

Sean Gilmour                                          Tel: +1 847 538 0804
DBA                                                  Mobile: +1 847 875 2790
GCT Motorola                                        Fax:  +1 847 435 9798
1299 Algonquin Rd
Schaumburg, IL
           Email: mailto:[EMAIL PROTECTED]

Reply via email to