Echo it and capture the script's STDOUT.
my $output = `sh diff1.sh`;
See qx// in perlops
In reply to Re: How to return value of a variable from shell script to perl script
by ikegami
in thread How to return value of a variable from shell script to perl script
by babp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |