To capture the output of a script you can use backticks, like this:
To pass some_script.pl STDIN, you would open a pipe to it (which is explained in the docs mentioned above).my $output = `some_script.pl`;
In reply to Re: running script within a script (semi-interactive)
by tospo
in thread running script within a script (semi-interactive)
by pogbobo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |