my $output = qx/java MyProgram 50000 2>&1/ [download]
In reply to Re^4: Testing Java code by Roy Johnson in thread Testing Java code by drawde83