![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re: running sh script from perl scriptby arturo (Vicar) |
on Jul 17, 2002 at 20:23 UTC ( #182571=note: print w/replies, xml ) | Need Help?? |
The backticks execute the command in a subshell; so you're not changing the environment of the script that calls that subshell (i.e. your perl script). So you're not really doing anything wrong, per se. That's a limitation of the shell, not Perl. If you want to modify the environment your perl script is running under, do it by modifiying the %ENV hash from within your script. I mistrust all systematizers and avoid them. The will to a system shows a lack of integrity -- F. Nietzsche
In Section
Seekers of Perl Wisdom
|
|