OPEN PIPE, "|java -jar program.jar";
That's barely valid Perl code. If you get error messages, tell us those error messages. When I run your Perl code, I get the following error message:
Useless use of a constant in void context at -e line 1.
Can't locate object method "OPEN" via package "PIPE" (perhaps you forg
+ot to load "PIPE"?) at -e line 1.
This is because your code makes little sense without further context. I highly doubt that your program is even launching your jar file for you at all. |