Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> setting ORACLE_SID within PERL
Hi gurus,
I need to be able to set Linux's environment variable for Oracle within a
PERL script.
The Linux command to set environment variable is "export".
So I tried to set it using the system() command:
system('export ORACLE_SID = TEST');
But that did not seem to work, the script just continues to execute without actually changing the environment variable.
Any help would be greatly appreciate!
Gordon Received on Sat Sep 11 2004 - 14:57:45 CDT