in reply to Importing environment variables from shell script file to Perl
Another idea: in the shell script, do
to make these environment variables. Then your Perl script can use the %ENV hash to read these in. Thus, $ENV{blah} will have the value "/tmp/test"export blah=/tmp/test
Of course, this is assuming that's possible in this project, specs being specs and managers being managers.
--
tbone1
Ain't enough 'O's in 'stoopid' to describe that guy.
- Dave "the King" Wilson
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Importing environment variables from shell script file to Perl
by Roger (Parson) on Oct 24, 2003 at 01:14 UTC |