in reply to How to return value of a variable from shell script to perl script

Echo it and capture the script's STDOUT.

my $output = `sh diff1.sh`;

See qx// in perlops

  • Comment on Re: How to return value of a variable from shell script to perl script
  • Download Code