Hi fellow Monks, I am again seeking some advice. I return to a previous related post - calling Perl from a Java application. What I am seeking advice on, is how do I return results from a Perl execution to a calling application, in my case Java? I have searched the web extensively for help (several hundred sites and posts), but cannot find anything to solve my problem. Collecting return values in Java is pretty straightforward, but returning those values from Perl is causing me problems - Perl allowing rturn values only from a subroutine. One solution I was considering was writing the results from the Perl program to disk, opening an InputStream in Java and read the file written to. Is there any way I can return values directly from Perl without having to do this? How can I create an output stream to achieve this?