|
|
sybperl-l Archive
Up Prev Next
From: "Cobb, Thomas" <TCobb at lehman dot com>
Subject: RE: 'Connection' test?
Date: Sep 18 1998 8:12AM
I have been wondering this as well, does anyone want to venture a reply
on David's mail?
> -----Original Message-----
> From: David Carter [SMTP:david@solbors.no]
> Sent: 03 September 1998 16:03
> To: SybPerl Discussion List
> Cc: Eivind Trondsen
> Subject: 'Connection' test?
>
> 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
|