How to call a Perl subroutine from C and Java?
Posted on 2007-11-15
I have a perl script in the following format. It defines a package crypto, and has function decrypt.
my retval = "String";
Decrypt, returns the plain_text string of whatever it was told to decrypt.
Now, my problem is that how can I call this function from JAVA and C, getting the return value back in both cases?
Any suggestions? Thanks in advance.