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: fence at bwn dot net
Subject: Re: $ENV{SYBASE} variable
Date: Sep 6 1999 10:38AM

For DBD, try using:
 
dbsetifile("/home/mpeppler/interfaces");


for CT-Lib:
$ret=ct_config(CS_SET,CS_IFILE,"/home/mpeppler/foo",CS_CHAR_TYPE)
;
print "$ret\n";

have fun

--Rob

---
Robert Fenstermacher
Conversion Specialists, Inc.
Denver, CO
fence@bwn.net
> Hello,
> 
> I'm using DBI/DBD and the Sybase::CTlib modules.  The
> problem is I would like to use a different interfaces file than 
the
> default one specified by the env var $ENV{SYBASE}.  Is there a 
way to
> connect to the database with a different interfaces file and 
yet the
> still use the existing ct libs in ~sybase?
> 
> thanks,
> 
> CLiff Nelsen
>