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
In reply to Re: Importing environment variables from shell script file to Perl
by tbone1
in thread Importing environment variables from shell script file to Perl
by bugsbunny
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |