my $returned = `test2.pl aaa bbb ccc`; print "Got \"$returned\" from test2.pl\n"; exit;
foreach $line (@ARGV) { $input .= $line; } if ($input ne '') { print "We received input:\n$input"; } else { print "Error, no input received!"; } exit;
In reply to Re: communicating with another program
by Delusional
in thread communicating with another program
by twotone
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |