Is there a Perl implementation in Java?
I am looking for a Perl implementation in Java Jython is similar to python
I need to run some Perl code in a Java class
to update:
I found that pljava is what I need Does anyone know some tutorials? Someone has played inline:: Java module. > I can't install inline:: Java
Solution
Jython is not completely compatible with Cpython (or you'd rather call it the original C Python interpreter), but it's an error no matter what difference it is from the language specification Unfortunately, Perl 5 is much more complex and lacks any form of language specification - effectively defined as "what is a Perl executable" - so there is no implementation translation of Perl 5 languages other than Perl 5 Unfortunately, this is history Perl 6 does have a language specification and multiple (incomplete) implementations, but it's unlikely to be useful to you
Pljava is trying to do what you want, calling Perl from Java It is linked to libperl. Com through JNI (populating java with native code) However, it hasn't been updated since 2004. I don't know its effect
edit
I haven't seen inline:: Java:: perlinterpreter before – unfortunately, it doesn't seem to work for my system Perl