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 peppler dot org>
Subject: Re: Interfaces entry
Date: Mar 6 2001 3:39PM

Peter.Collard@barclayscapital.com writes:
 > I want to override the interfaces file name - is it possible to set
 > attributes on the end of  "new Sybase::CTlib..." or is there another way - I
 > cant change the open client directory, but want to build a 'dynamic'
 > interfaces entry.

You need to specify the interfaces file before calling new/ct_connect,
with a ct_config() call... it's even in the man page:

    $ret = ct_config(CS_SET, CS_IFILE, "/home/mpeppler/foo", CS_CHAR_TYPE);


Michael
-- 
Michael Peppler - Data Migrations Inc. - mpeppler@peppler.org
http://www.mbay.net/~mpeppler - mpeppler@mbay.net
International Sybase User Group - http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com