Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^8: Running perl from java

by Anonymous Monk
on Jan 09, 2011 at 13:43 UTC ( #881345=note: print w/ replies, xml ) Need Help??


in reply to Re^7: Running perl from java
in thread Running perl from java

Add
cmd = args;
output is
$ 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
But upon closer examination, that wasn't the problem. Using B::Deparse the error is obvious
$ 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
Its a stupid old bug.


Comment on Re^8: Running perl from java
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://881345]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (7)
As of 2015-07-31 00:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls