Home: Perl Programming Help: Advanced:
java



madhu_p
Novice

Dec 1, 2003, 10:30 AM


Views: 2363
java

I have java program to which I have to give array as input and take array as output

or

simply calling java programme to execute in the middle of perl script
Kaiserslautern,Germany


davorg
Thaumaturge / Moderator

Dec 2, 2003, 1:41 AM


Views: 2359
Re: [madhu_p] java

Is it a Java applet, servlet or application?

Would Inline::Java be any help to you?

--
Dave Cross, Perl Hacker, Trainer and Writer
http://www.dave.org.uk/
Get more help at Perl Monks


madhu_p
Novice

Dec 2, 2003, 4:42 AM


Views: 2358
Re: [davorg] java

It is java application

I dont how to call java in perl , what module I have to call to run java application from perl .

If it possible I want pass an array from perl to java and take back another array from java to perl.

I hope u can help me out of this problem.

Madhu
Kaiserslautern,Germany


davorg
Thaumaturge / Moderator

Dec 2, 2003, 5:50 AM


Views: 2357
Re: [madhu_p] java

If it's an application then can't you call it the same way that you call any other external program? With backticks, system, exec, etc...

--
Dave Cross, Perl Hacker, Trainer and Writer
http://www.dave.org.uk/
Get more help at Perl Monks


madhu_p
Novice

Dec 2, 2003, 8:12 AM


Views: 2356
Re: [davorg] java

I want know any modules avaliable for active perl to make communication between perl and java

Madhu
Kaiserslautern,Germany


davorg
Thaumaturge / Moderator

Dec 2, 2003, 9:07 AM


Views: 2355
Re: [madhu_p] java

I believe I already mentioned Inline::Java.

--
Dave Cross, Perl Hacker, Trainer and Writer
http://www.dave.org.uk/
Get more help at Perl Monks