Hi, I am a novice at using Perl. I just built and installed Inline 0.44 and Inline::Java 0.49 on top of an ActiveState Perl 5.8.7 installation on Win32. Then, I tried to use the Inline::Java module with the following script found on the author's documentation page:
-------------------------------------------------------------------------------- use Inline Java => <<'END_OF_JAVA_CODE' ; class Pod_alu { public Pod_alu(){ } public int add(int i, int j){ return i + j ; } public int subtract(int i, int j){ return i - j ; } } END_OF_JAVA_CODE my $alu = new Pod_alu() ; print($alu->add(9, 16) . "\n") ; # prints 25 print($alu->subtract(9, 16) . "\n") ; # prints -7 -------------------------------------------------------------------------------- However, I get the following result: -------------------------------------------------------------------------------- [C:\Documents and Settings\malikvis\Desktop\sonicMQ-Perl]perl test.pl Can't open C:\Documents\config tor output. No such file or directory at -e line 0 BEGIN failed--compilation aborted. Failed to autogenerate C:\Documents and Settings\malikvis\Desktop\sonicMQ-Perl\_ Inline\config. at test.pl line 1 BEGIN failed--compilation aborted at test.pl line 14. [C:\Documents and Settings\malikvis\Desktop\sonicMQ-Perl] -------------------------------------------------------------------------------- This is a really weird error. Offcourse, there's no file as C:\Documents\config. There's no such directory as C:\Documents to begin with. Since I'm new to perl, I don't know how to conveniently track and fix this problem. Any help would be appreciated. Vishal ---------------------------------------- This mail sent through www.mywaterloo.ca