you can use the %ENV hash
example:
$ENV{ORACLE_HOME} = "/opt/oracle/product/9.0.1";

> -----Original Message-----
> From: Steve Main [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 04, 2002 10:23 AM
> To: [EMAIL PROTECTED]
> Subject: Environment setup
> 
> 
> Hello list,
> 
> I have an Oracle framework written in Korn shell scripts that I am
> attempting to re-write in Perl.  I am having trouble figuring out
> how to "source" in environment variables.  For the shell 
> scripts, I have
> a script that sets all of the global variables and then each script in
> the framework "sources" that script so that all the scripts
> start with the same environment.  The gist of what I need is to
> keep the global variables (like the log directory) in one place
> and not in each script.  Can anyone tell me how this can
> be accomplished in Perl?
> 
> thanks for you time
> 
> Steve
> 
> 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to