Include Perl in Java

前端 未结 7 1261
予麋鹿
予麋鹿 2020-12-31 20:19

Is there any way to execute perl code without having to use Runtime.getRuntime.exec(\"...\"); (parse in java app)?

7条回答
  •  耶瑟儿~
    2020-12-31 21:16

    I've been looking into this myself recently. The most promising thing I've found thus far is the Inline::Java module on CPAN. It allows calling Java from Perl but also (via some included Java classes) calling Perl from Java.

提交回复
热议问题