... even without the pragmas & declaration of the variable ...
... I note just in case somebody wanted to nit pick.cat ~/p ; rm -f log.txt ; ~/p ; cat log.txt #!~/bin/perl5.14.1 $abc = `date`; #$abc = "Hello"; print "DATE : $abc\n"; system("echo $abc >> log.txt"); __END__ DATE : Fri Jul 15 02:07:45 HST 2011 Fri Jul 15 02:07:45 HST 2011
In reply to Re^2: system call with variable interpolation
by Anonymous Monk
in thread system call with variable interpolation
by angshuman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |