RE: [Perl-unix-users] How to execute a shell skript from perl in localcontext

2005-11-24 Thread Allegakoen, Justin Devanandan
-8<-- system("script") is not my solution, because the script is executed in a subshell, and his environment variables are lost after return to perl -8<-- Not sure what you mean by localcontext (sic). However if you want environment variables updated by your Perl code to be visibl

Re: [Perl-unix-users] How to execute a shell skript from perl in local context

2005-11-24 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: > > system("script") is not my solution, because the script is executed in > a subshell, and his environment variables are lost after return to perl You might try using 'do' or turn it into a module and 'use' it. ___ Perl-Unix