output iscmd = args;
But upon closer examination, that wasn't the problem. Using B::Deparse the error is obvious$ java GoodWindowsExec perl -le " print for @ARGV; warn @ARGV" 1 2 3 Execing perl -le print for @ARGV; warn @ARGV ERROR>123 at -e line 1. OUTPUT>1 OUTPUT>2 OUTPUT>3 ExitValue: 0
$ java GoodWindowsExec perl -MO=Deparse -le " print \"f $_\" for @ARGV +; warn @ARGV" 1 2 3 Execing perl -MO=Deparse -le ERROR>-e syntax OK OUTPUT>BEGIN { $/ = "\n"; $\ = "\n"; } OUTPUT>print f $_; ExitValue: 0
In reply to Re^8: Running perl from java
by Anonymous Monk
in thread Running perl from java
by abramia
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |