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: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Sybase::CTlib ct_callback
Date: Mar 22 2000 3:31PM writes:
 > This would appear to setup callbacks applying to all database connections. 
 > Looking at the OpenClient documentation, the ct_callback function accepts a 
 > database connection as one of the parameters, thus enabling callbacks to be 
 > defined as local to the database connection rather than applying to all 
 > database connections.

Correct. This a feature that I didn't implement.

 > I really want to enable the creation of multiple database connections with 
 > potentially different callback handlers on the database connections. The ways 
 > that I see this as possible are:-
 > * ct_callback is implemented as a method on an instance of Sybase::CTlib. This 
 > may already be true but I can't find any documentation.

No this is not handled at the moment. However, if you feel you'd like
to delve into the code and try to make it that way I'll gladly accept
patches :-)

(I don't have the time to hack sybperl at the moment, unfortunately)

Michael Peppler         -||-  Data Migrations Inc.    -||-
Int. Sybase User Group  -||-
Sybase on Linux mailing list: