Hammy has asked for the wisdom of the Perl Monks concerning the following question:

Can this be done? I have a situation where the form variables are passed to me encrypted and I have the Java code to decrypt it, but I am not sure where to look to see how to call a Java App from within Perl and accept the result of the Java app. (Pass an encrypted string and get back a decrypted string). Any help would be appreciated. Thanks

Replies are listed 'Best First'.
Re: Calling Java applet from Perl
by gjb (Vicar) on Nov 26, 2002 at 23:36 UTC

    You could have a look at the Java module on CPAN, it allows to call Java code from Perl (instantiate object, perform method calls).

    Java::Inline might also be worth a look.

    Hope this helps, -gjb-

      Thanks gjb, I'll give it a try.