Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "WORENKLEIN, David, GCM" <David dot Worenklein at gcm dot com>
Subject: RE: ct_poll
Date: Aug 3 2001 7:20PM

Thanks.  I've found the dblib to be buggy - I often get a "Datastream
processing out of sync" error.

Here's an example.  There are plenty of others.

use Sybase::DBlib;

my $conn = new Sybase::DBlib("user","password","server") || die "can't
$conn->dbcmd("select * from master..sysusers") || die "can't dbcmd";
$conn->dbsqlsend() || die "can't dbsqlsend";

while( $conn->dbresults() == SUCCEED) {
  dbpoll(undef, 0);

-----Original Message-----
From: Michael Peppler []
Sent: Friday, August 03, 2001 3:12 PM
To: SybPerl Discussion List
Subject: Re: ct_poll

WORENKLEIN, David, GCM writes:
 > Michael - Do you have any plans to implement asynchronous Sybase
 > connections?

I've not looked at that for Sybase::CTlib so far (I've never had any
need for them...)

I know you did the work for Sybase::DBlib, so I assume you find this
useful :-)

I'll have to take a look at the API and see what it entails...

Michael Peppler - Data Migrations Inc. - -
International Sybase User Group -

This e-mail is intended only for the addressee named above.
As this e-mail may contain confidential or privileged information,
if you are not the named addressee, you are not authorised to
retain, read, copy or disseminate this message or any part of it.