$output = `program args`; # collect output into one multiline string @output = `program args`; # collect output into array, one line per element