Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
and the perl is:exec (EscapeShellCmd("test_script.pl $file"), $Result); $n = count($Result); print " n=$n";
The Result array appears unchanged after executing the script. What am I doing wrong? Thanks for any help. Richard.$outArray[0] = "array 0"; $outArray[1] = "array 1"; $outArray[2] = "array 2"; print STDOUT $outArray; exit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: running perl script from php
by duff (Parson) on Dec 19, 2003 at 15:24 UTC | |
|
Re: running perl script from php
by Theo (Priest) on Dec 19, 2003 at 15:42 UTC | |
|
Re: running perl script from php
by Grygonos (Chaplain) on Dec 19, 2003 at 15:25 UTC | |
by u914 (Pilgrim) on Dec 19, 2003 at 16:28 UTC | |
by Anonymous Monk on Dec 19, 2003 at 15:38 UTC | |
by duff (Parson) on Dec 19, 2003 at 16:22 UTC |