You can run an external command using system (if you don't need to capture the output) or backticks (``) or qx// if you do need to capture the output. It looks like you probably want to use backticks or qx//:
my $output = qx/java .../;
Update: If you capture the output in an array, you get a list of lines instead of one big string...
In reply to Re: Testing Java code
by herveus
in thread Testing Java code
by drawde83
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |