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: Michael Peppler <mpeppler at MBAY dot NET>
Subject: 'Connection' test?
Date: Oct 7 1998 4:56PM

David Carter writes:
 > 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?

The next release of sybperl will have $dbh->DBDEAD in CTlib too...

With a bit of luck it should be available in a couple of weeks.

Michael
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@mbay.net       -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com