http://www.perlmonks.org?node_id=761709


in reply to How do I set env. Variables from Perl with shell script

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.

-- 
Ronald Fischer <ynnor@mm.st>
  • Comment on Re: How do I set env. Variables from Perl with shell script