Hi Youlian,
Although it would help to see your script, it seems that you have used
Inline::Java with
a hash reference argument instead of a list:
-----8<-----
use Inline ( # '(' where, not '{'
Java => 'java code',
...
) ; # ')' where, not '}'
-----8<-----
Also, you can use:
-----8<-----
use Inline (
Java => 'DATA',
...
) ;
# Perl code goes here
__END__
// Java code goes here. Use __DATA__ is you declared a Perl package
-----8<-----
That's what the DATA message is about.
Hope this helps,
Patrick LeBoutillier
----- Original Message -----
From: "ypan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 16, 2001 1:58 PM
Subject: Inline::Java
> Hello,
>
> I am new to the list and to Inline module. I have Inline::Java (4.1.1)
> installed at CBR yesterday and tried to use it, but got an error message
> saying
>
> "No source code in DATA section for Inline 'HASH(0x3ad504)' section."
>
> I do not have a DATA section in my code. Could someone on the list give me
an
> advice on what is this message about.
>
> Thank you in advance.
>
> Youlian Pan
> Guest Worker
> CBR-NRC, Canada
>
>
>