You want the backtick operator:
my @output = `./myexecutable.out ...`; chomp @output; # if you don't want the newlines at the end
See perlop for more information.
In reply to Re: Howto pass the STDOUT output of an executable into an array
by Corion
in thread Howto pass the STDOUT of an executable into an array
by neversaint
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |