Ok, I am sure I am doing something wrong but I can't figure it out.
I can't get the Inline::Java examples to work. The error I get is
[birney@riker graphicgo]$ perl test3.pl
No source code in DATA section for Inline 'HASH(0x8105340)' section.
at /usr/lib/perl5/5.6.0/i386-linux/Socket.pm line 0
Here is my script
use Inline {
'Bin' => '/usr/java/jdk1.3.0_02/bin/',
'Java' => "
class alu {
public alu { }
public int add(int i,int j) {
return i+j;
}
}",
};
$alu = new alu();
print "Got ",$alu->add(2,2),"\n";
Inline 0.43 and Inline::Java 0.23
ewan
-----------------------------------------------------------------
Ewan Birney. Mobile: +44 (0)7970 151230, Work: +44 1223 494420
<[EMAIL PROTECTED]>.
-----------------------------------------------------------------