in reply to Use of Java modules in Perl

I suppose it would be possible to have your java program act as a "main" method, call down into JNI, and from JNI embed a perl interpreter which would (by various function calls) manipulate the Java code while in JNI land (JNI allows for all sorts of Java language abuses, including private variable access). JNI ain't fun though, nor is embedding an interpreter.

Replies are listed 'Best First'.
Re^2: Use of Java modules in Perl
by Tomte (Priest) on Nov 06, 2004 at 09:28 UTC

    If your interpretation of the OPs meaning is right, and using perl in java is a viable solution, gmpassos' PLJava would be the first thing to look at...

    regards,
    tomte


    An intellectual is someone whose mind watches itself.
    -- Albert Camus