Warped has asked for the wisdom of the Perl Monks concerning the following question:
I am working on a Web based Sybase interface. When I try to access the code from my
web page I get a server error. When I check the error_log, I get the following error for
the Web page access:
Your sybase home directory is /export/home/sybase. Check the environment variable SYBASE if it is not the one you want!
When I check my environment variables I get Sybase=/sybase, which is the correct home directory.
I checked the code from someone else's page which accesses a different (but still Sybase) data base
and found this:
Begin {$NEW{SYBASE}='Sybase';}
I tried this and still got the same error. Is this code creating an instance of an environment variable object? Do I have to make the rest of my code Object Oriented?
I am assuming that my path variable,which is correct, and the public path variable for Sybase are different. Am I wrong? God, I miss C on Warp4.5.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: ENV Object?
by davorg (Chancellor) on Oct 29, 2001 at 20:43 UTC | |
|
Re: ENV Object?
by slayven (Pilgrim) on Oct 29, 2001 at 20:43 UTC | |
|
Re: ENV Object?
by kwoff (Friar) on Oct 29, 2001 at 20:48 UTC | |
by dmmiller2k (Chaplain) on Oct 30, 2001 at 02:25 UTC | |
by mpeppler (Vicar) on Oct 30, 2001 at 10:27 UTC | |
by dmmiller2k (Chaplain) on Oct 30, 2001 at 18:38 UTC | |
|
Re: ENV Object?
by thraxil (Prior) on Oct 29, 2001 at 20:48 UTC | |
|
Re: ENV Object?
by mpeppler (Vicar) on Oct 30, 2001 at 10:37 UTC | |
by Warped (Initiate) on Oct 30, 2001 at 21:24 UTC | |
by mpeppler (Vicar) on Oct 30, 2001 at 21:35 UTC | |
by Warped (Initiate) on Oct 30, 2001 at 22:03 UTC |