Obviously a system call does the trick as suggested by Ratazong. I don't really like the file based communication though. It's also possible to embed your Java code in Perl and make it work together like marto suggested. But at first sight PLJava doesn't look very actively supported. Another option might be Inline::Java::Callback. I recently read XML-RPC, to call perl routines from Java. I like the idea a lot. I still have to try it though.
What kind of inter-program-communication (if any) are you looking for?
Cheers,
dHarry
In reply to Re: How to call perl in Java?
by dHarry
in thread How to call perl in Java?
by llancet
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |