Worked in both cases here (CentOS 5, zsh 4) ...
#!~/bin/perl5.14.1 use strict; use warnings; my $abc; $abc = `date`; #$abc = "Hello"; print "DATE : $abc\n"; system("echo $abc >> log.txt");
In reply to Re: system call with variable interpolation
by Anonymous Monk
in thread system call with variable interpolation
by angshuman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |