Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> setting ORACLE_SID within PERL

setting ORACLE_SID within PERL

From: hastenthunder <hastenthunder_at_hotmail.com>
Date: Sat, 11 Sep 2004 15:57:45 -0400
Message-ID: <_MI0d.1231$Ny6.2302@mencken.net.nih.gov>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US