How should I call a Perl Script in Java?

You can use Runtime.getRuntime().exec() or use the Process API.
The Process API allows you to get the output of the script, so you can have both communicate.

exitValue() and getInputStream() seems to be what you need.

Leave a Comment