sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: setting SYBASE env variable?
Date: Feb 16 1998 9:35PM
Lal Bandaru wrote:
>
> Hi,
>
> I am trying to use SybPerl to access Sybase database thru a cgi program.
>
> Its complaining that the SYBASE env variable is not set properly.
> My question is: Is the variable set during the installation of sybperl
> or is there
> any method to set "SYBASE" env variable in a cgi-bin program.
Put this before the 'use Sybase::CTlib' request:
BEGIN {
$ENV{SYBASE} = "/path/to/sybase";
}
Michael
--
Michael Peppler -||- Data Migrations Inc.
mpeppler@datamig.com -||- http://www.mbay.net/~mpeppler
|