Kashratul has asked for the wisdom of the Perl Monks concerning the following question:
I am aiming to call a perl script from another perl script and re-direct the output of the called script to a text file.
For calling a script from another script -> system "start text.pl"; is working fine.
Individually output of text.pl(called script) can be redirected by => text.pl> text.txt.
But can some one guide me how to redirect the output of the called script(text.pl) by putting some command in the calling script.
Thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: redirecting the output of the called script thru calling script
by moritz (Cardinal) on Mar 06, 2008 at 10:26 UTC | |
by Kashratul (Acolyte) on Mar 06, 2008 at 11:18 UTC | |
|
Re: redirecting the output of the called script thru calling script
by zentara (Cardinal) on Mar 06, 2008 at 15:36 UTC |