![]() |
|
go ahead... be a heretic | |
PerlMonks |
Re: running sh script from perl scriptby robobunny (Friar) |
on Jul 17, 2002 at 20:23 UTC ( #182570=note: print w/replies, xml ) | Need Help?? |
it is only modifying the environment of the subshell that is running your shell script. the syntax ". shellscript.sh" only works in sh/bash/etc. all it is doing is saying "run these commands as if i typed them at the command prompt". if you want to modify environment variables inside your perl script, you will need to modify $ENV yourself.
In Section
Seekers of Perl Wisdom
|
|