temp.pl ---------------------- #! /usr/bin/perl print $ARGV[0] + 1; temp.sh ---------------------- #! /usr/bin/bash MYVALUE=1; NEWVALUE=`./temp.pl $MYVALUE` echo $NEWVALUE execution ---------------------- $./temp.sh 2
--
flounder
In reply to Re: Passing Values
by flounder99
in thread Passing values between shell and Perl scripts
by bobdis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |