[Perl Program] $testprog = "testprog"; $a=1; $b=2; $c="\"This is a test\""; system($testprog $a $b $c) ... [in Shell script "testprog"] a=$1 b=$2 c=$3 echo $a = 1 echo $b = 2 echo $c = "This is a test"
--
RatArsed
In reply to Re: Passing Command line values from Perl to Sh via system()
by RatArsed
in thread Passing Command line values from Perl to Sh via system()
by P0w3rK!d
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |