in reply to How to return value of a variable from shell script to perl script
my $shell_out = <<`SHELL`; diff $file1 $file2 ls -l SHELL print "$shell_out"; [download]