title: How should I call a Perl Script in Java?
body: <p>I read <code>Runtime.getRuntime().exec("perl script.pl")</code> is an option, but is this the best way to do it?</p>
  
  <p>I'll need an answer from that script, so I'll have to read the script's return in some cases, although I might read it from a text file on other cases.</p>
  
  <p>Anyway, is <code>exec()</code> a good way of calling a Perl Script from Java? I should note, I'm working on a Java Web Application, so security is an issue here.</p>