sybperl-l Archive
Up Prev Next
From: David Carter <david at solbors dot no>
Subject: 'Connection' test?
Date: Sep 3 1998 3:03PM
Hi,
I can't see a CTlib equivalent for the DBlib call $dbh ->DBDEAD. Is it
enough to say:
unless ($dbh) {
print "The database connection is dead!\n";
}
or is something more intricate needed?
Many TIA,
David Carter, Internet Programming & Security "Most of the shadows
SOL Børs AS, Oslo. in life are caused
david@solbors.no http://www.solbors.no/ by standing in your
Norway's Top Financial Site. own sunshine" R.W. Emerson
|