Problems? Is your data what you think it is? | |
PerlMonks |
Re: Array for system() callby snafu (Chaplain) |
on Oct 23, 2001 at 19:03 UTC ( [id://120804]=note: print w/replies, xml ) | Need Help?? |
change system(@Call) to system("@Call"); and it will work.
prints: system(gawk -f test.gawk test.file > out.file) which wouldn't even work if you literally placed it that way in a script. However, If you ran this: system("gawk -f test.gawk test.file > out.file") in a script that would work. So, therefore, enclose your array in the system() call in quotes. It works. :)
----------
In Section
Seekers of Perl Wisdom
|
|