Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I am trying to execute a sh script from a perl script.
I am doing that by including the following line to the perl script
`. nameofshscript arg1toshscript arg2roshscript`;
The sh script modifies some env. variables. however when the execution returns to the perl script after the sh script is done those modification aren't visible in the perl script.
what am i doing wrong and how to correct that ?
Thanks..
Amit
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: running sh script from perl script
by ehdonhon (Curate) on Jul 17, 2002 at 20:25 UTC | |
Re: running sh script from perl script
by DamnDirtyApe (Curate) on Jul 17, 2002 at 21:56 UTC | |
Re: running sh script from perl script
by arturo (Vicar) on Jul 17, 2002 at 20:23 UTC | |
Re: running sh script from perl script
by robobunny (Friar) on Jul 17, 2002 at 20:23 UTC | |
Re: running sh script from perl script
by coreolyn (Parson) on Jul 17, 2002 at 20:22 UTC | |
by amit_ra (Initiate) on Jul 18, 2002 at 18:45 UTC |
Back to
Seekers of Perl Wisdom