I'd like to execute Perl code efficiently from Java. The purpose of the Perl is mainly to perform regular expression matching (in some tests it Perl was more efficient than Java to do that)
Thus far I've found the possibility of using this: http://metacpan.org/pod/Inline::Java::PerlInterpreter
Another option would be to use Runtime.exec() in java to call Perl.
What is the most performant solution? Does one have an advantage over the other? I can't really see any, except that the PerlInterpreter is still experimental and I don't know if that's going to change. Do you know of any other options to call Perl from Java?