in reply to Pipeing to a java input.

odd_perl:

If it's a command-line program, it may be very easy to do the task, but if it's a GUI program it'll be a little trickier. If it's a GUI on Windows, you may want to send keystrokes to the application. I've not done it so I don't have specific module recommendations, but I'd look for something to help you locate the window of interest, and something to let you send keystrokes to that window. I've seen discussions about both topics here on PM, so I think your best bet would be to use Super Search or google to find the appropriate threads.

...roboticus

When your only tool is a hammer, all problems look like your thumb.