PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

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