如何在java中执行perl脚本?
答
不知道任何更多的要求:
Runtime.getRuntime().exec("/path/to/perl /path/to/perl/script");
文档关于Runtime.exec
:http://download.oracle.com/javase/6/docs/api/java/lang/Runtime.html#exec(java.lang.String)
的可能重复[?我应该如何调用一个Perl脚本,Java中] (http://stackoverflow.com/questions/603554/how-should-i-call-a-perl-script-in-java) – Thilo 2010-10-18 01:33:42