[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 583
  • Last Modified:

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
0
maha
Asked:
maha
1 Solution
 
maneshrCommented:

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.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now