# assume $lname, $tempfile were assigned previously my $command = "unix_blues -w $lname >> $tempfile"; my $rc = system($command); # the above puts the output into $tempfile and the return code in $rc # they then open, read the tempfile putting lines into array (which could have # also been done in one line) #### my $command = "unix_blues -w $lname"; @BluesData = `$command`;