http://www.perlmonks.org?node_id=948832

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

I'm trying to use a vendor driver written in Java with a perl program. I've never used java but I have done a bit of perl programming. After looking around the web a bit I found a site, http://www.perl.com/pub/2003/11/07/java.html, that shows using a perl package to wrap the java in an Inline code to let you use it it perl. I tried the sample package with my jar file and then tried to access it like the example showed in another perl file but I'm getting all kinds of errors. I eventually discovered I had to add the CLASSPATH directly with the entire path/filename to get by some of the errors but when ever I try to access the java class I get a undefined subroutine. Is there any other tutorials on using Inline::Java in perl with a jar file or can someone point me in the right direction?? Is the sample package file the website uses the correct way to return the java object in the first place?? Help