Question : How to set sybase interfaces file using sybperl

Hi folks,

I am using sybperl for data base connection. I am using DBlib module. I have defined my own interfaces file for sybase and I want to use it for accessing the database server and not the default interfaces file in sybase home directory. Can anybody tell me how to write a login program to sybase using multiple interfaces files.

Also do u know any resources or documentation for sybperl ..

Thanx
Maha

Answer : How to set sybase interfaces file using sybperl


i  checked the "Building and Installing" section of SybPERL FAq(http://www.mbay.net/~mpeppler/Sybperl/sybperl-faq.html)

& this is what it said...

"The 'interfaces' file is not visible.
     The Sybase libraries need access to a file that contain information on how to connect to the server. This file is normally
     located at the root of the Sybase installation directory, and the Sybase libraries and programs normally use the SYBASE
     environement variable to find this directory (ie sybperl will try to find $SYBASE/interfaces in order to run). "

so i think as long as you have kept your personal interface file in a direcory called interfaces and also updated the $SYBASE environment variable to point to your interface file, it shoudl work.

=========================================
a very good site is from the author of sybperl - Michael Peppler

http://www.mbay.net/~mpeppler/

check the section on "Sybperl documentation and papers"

you might get what you want there.
Random Solutions  
 
programming4us programming4us