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

Hi All,

Has anybody tried calling a java package from Perl?
I have a perl object. I need to convert this into a java object.
Basic idea is to call a java package and create an object of it in Perl.
I saw cpan modules like Java::Import, Java and JPL::Class.
I was not able to install Java::Import.
I tried the cpan module 'Java', but it also dint work.

So, Need some help on this.


Thanks,
Vishi.

Replies are listed 'Best First'.
Re: Calling a Java package from Perl
by Corion (Patriarch) on Jan 06, 2009 at 11:34 UTC

    You don't tell us how they fail for you. I'd take a look at Inline::Java as well.

Re: Calling a Java package from Perl
by fzellinger (Acolyte) on Jan 06, 2009 at 12:40 UTC
    What is the purpose of the Java object? Is this an opportunity to add some missing functionality to the perl world? Just curious.