in reply to Howto pass the STDOUT of an executable into an array
You want the backtick operator:
my @output = `./myexecutable.out ...`; chomp @output; # if you don't want the newlines at the end [download]
See perlop for more information.