Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks,
I am calling external jar file using perl script and that jar file return the some value. How to get the return's value to the perl scalar variable.
Example
$return=`java -jar xyz.jar`;
In the above example it returns the some value say 10. How to get 10 into the $return variable.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: get return value from jar file
by CountZero (Bishop) on Dec 05, 2011 at 13:10 UTC | |
|
Re: get return value from jar file
by vinian (Beadle) on Dec 05, 2011 at 12:44 UTC | |
by CountZero (Bishop) on Dec 05, 2011 at 13:27 UTC | |
by vinian (Beadle) on Dec 05, 2011 at 13:49 UTC |