Michael Peppler
Sybase Consulting
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
Sybase on Linux FAQ
Sybperl FAQ
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: Wrapper for scripts
Date: Oct 15 1997 9:08PM

Sandesh Tattitali wrote:
> Hi everybody,
>         I am quite new to Sybperl and I apologize if I am repeating an oft discussed topic.
> I am using Sybperl to write a CGI script to return some data from my database. I read in the Sybperl FAQ that it wasn't possible to set the environment from within the script and that I would need to have a 'wrapper' script to set the environment (most notably LD_LIBRARY_PATH). So am I to infer that all CGI scripts called from my HTML page would need to be either Bourne or C or Korn shell scripts that would set the environment and then invoke the appropriate Sybperl script ??

Yes you are correct.

However - what environment are you on? What OS/hardware platform?

It is usually possible to install perl & sybperl in such a fashion that 
LD_LIBRARY_PATH is not required, and this would speed up your CGI
quite a bit!

Michael Peppler       -||-  Data Migrations Inc.  -||-