icius has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to convert a bunch of perl scripts from Unix to Windows. Previously the scripts were called from a batch file in Unix, but I would like to use Perl exclusively for this. I have tried just using a backtick to call the scripts, but any environment variables I have set in the master script don't seem to propogate to the child scripts. Trying convert them all to modules/packages would require way more time than I have unless I misunderstand the complexity of modules. Is there an easy way to call Perl scripts from within a Perl script and keep the environment variables?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Calling Perl from Perl
by iburrell (Chaplain) on Dec 04, 2002 at 18:08 UTC | |
Re: Calling Perl from Perl
by broquaint (Abbot) on Dec 04, 2002 at 14:25 UTC | |
Re: Calling Perl from Perl
by Dog and Pony (Priest) on Dec 04, 2002 at 14:20 UTC | |
Re: Calling Perl from Perl
by icius (Sexton) on Dec 04, 2002 at 14:44 UTC |
Back to
Seekers of Perl Wisdom