Hello,
I have installed Inline module from CPAN Inline-Java-0.47.tar.gz.
I have following code in my perl file (simpleftp.pl)
---------------------------------------------------------------------------------------------------------
use Inline Java => <<'END';
class JAxH {
public JAxH(String x){
System.out.println("Just Another " + x + " Hacker") ;
}
}
END
new JAxH('Inline') ;
---------------------------------------------------------------------------------------------------------
I get following error when run -
Can't locate Inline.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.3/sun4-solaris /usr/local/lib/perl5/5.8.3 /usr/local/lib/perl5/site_perl/5.8.3/sun4
-solaris /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl .) at /usr/local/lib/perl5/site_perl/5.8.3/Inline/Java.pm line 22.
Compilation failed in require at simpleftp.pl line 5.
BEGIN failed--compilation aborted at simpleftp.pl line 5.
Does anybody know what is going wrong why can't I find Inline.pm ?
Regards,
Mandar
The information contained in this email is classified as:
[X] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
I have installed Inline module from CPAN Inline-Java-0.47.tar.gz.
I have following code in my perl file (simpleftp.pl)
---------------------------------------------------------------------------------------------------------
use Inline Java => <<'END';
class JAxH {
public JAxH(String x){
System.out.println("Just Another " + x + " Hacker") ;
}
}
END
new JAxH('Inline') ;
---------------------------------------------------------------------------------------------------------
I get following error when run -
Can't locate Inline.pm in @INC (@INC contains: /usr/local/lib/perl5/5.8.3/sun4-solaris /usr/local/lib/perl5/5.8.3 /usr/local/lib/perl5/site_perl/5.8.3/sun4
-solaris /usr/local/lib/perl5/site_perl/5.8.3 /usr/local/lib/perl5/site_perl .) at /usr/local/lib/perl5/site_perl/5.8.3/Inline/Java.pm line 22.
Compilation failed in require at simpleftp.pl line 5.
BEGIN failed--compilation aborted at simpleftp.pl line 5.
Does anybody know what is going wrong why can't I find Inline.pm ?
Regards,
Mandar
The information contained in this email is classified as:
[X] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary