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: Michael Peppler <mpeppler at MBAY dot NET>
Subject: SybPerl under CGI
Date: Feb 11 1999 8:33PM

>>>>> "Chris" == Arndt-Kohlway, Chris  writes:

Chris> I'm sure this question has been asked and solved before, but I
Chris> am new to the group.

Indeed :-)

Chris> I am running SybPerl 2.10 (dynamically loaded) under Perl
Chris> 5.005_002 on an AIX4.3.2 system.  Everything worrks great when
Chris> I run the Perl cscript from the command line, but when I try to
Chris> call a Perl program from a web page using CGI, it fails with
Chris> the following message:

Put the 
	$ENV{SYBASE} = "..."

in a BEGIN{} block:

#!/usr/local/bin/perl -w

BEGIN {
   $ENV{SYBASE} = "...";
}

use Sybase::CTlib;

etc...

Michael
-- 
Michael Peppler         -||-  Data Migrations Inc.
mpeppler@mbay.net       -||-  http://www.mbay.net/~mpeppler
Int. Sybase User Group  -||-  http://www.isug.com
Sybase on Linux mailing list: ase-linux-list@isug.com