If the shell is bash, Env::Bash might help here. You would give 'setParam.sh' as parameter. Note, however, that you would not only get (exported) environment variables, but (non-exported) shell variables as well. I have never tried Env::Bash myself though, so I don't know how well it works.
In reply to Re: How do I set env. Variables from Perl with shell script
by rovf
in thread How do I set env. Variables from Perl with shell script
by Noame
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |