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 11:19AM

Oops-I guess I read that wrong.  it seems like a monday here.

DBI/DBD--DB-Lib....how different can they be, anyway :)

have a good one

--Rob

> fence@bwn.net writes:
>  > For DBD, try using:
>  >  
>  > dbsetifile("/home/mpeppler/interfaces");
> 
> Err... that's for Sybase::DBlib.
> 
> This person is using DBD::Sybase...
> 
>  > 
>  > 
>  > for CT-Lib:
>  > 
$ret=ct_config(CS_SET,CS_IFILE,"/home/mpeppler/foo",CS_CHAR_TYPE)
>  > ;
>  > print "$ret\n";
> 
> Yep - that's correct :-)
> 
> Michael
> 
> 
>  > > 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
>  > > 
>  > 
> 
> -- 
> Michael Peppler         -||-  Data Migrations Inc.
> mpeppler@peppler.org    -||-  http://www.mbay.net/~mpepple
r
> Int. Sybase User Group  -||-  http://www.isug.com
> Sybase on Linux mailing list: ase-linux-list@isug.com
>