my $result = `program`; # for collecting data from STDOUT #### my $result = `program 2>&1`; # for collecting data from STDERR.