Re: How to pass array from java to perl using inline java



Hi,

Sorry for the multipost. I apologize.

Here is the script that I try to run:

*****************************************************
use Inline Java => <<'EOJ';
public class TestJavaClass
{

public float[ ] [ ] returnArrayData(){
.
.
.
return ArrayData[m][n];
}
}

EOJ

my @mylist = TestJavaClass. returnArrayData();

print "$mylist[0]";

*****************************************************

I got the following output:

Inline::Java::Array=ARRAY(0xa52e234)

Thanks for your help!

Regards,

Tom






.