Include Perl in Java

前端 未结 7 1266
予麋鹿
予麋鹿 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:07

    Inline::Java provides an embedded Perl interpreter in a class. You can use this to call Perl code from your Java code.

    Graciliano M. Passos' PLJava also provides an embedded interpreter.

    Don't use JPL (Java Perl Lingo)--the project is dead and has been removed from modern perls.

提交回复
热议问题