in reply to Re^2: Passing user input to a shell commandin thread Passing user input to a shell command
Did you try this?
print "$_\n" for qw "perl /Users/james/perlstuff/macc/macc1 $file"; [download]