> -----Original Message-----
> From: Wu, Gang (Steven) [mailto:[EMAIL PROTECTED]
> 
> Hi, Eric,
> 
> Your method needs to have all the C code in the BEGIN block. 
> What if I
> have a rather long C code and I want it to be at the end of 
> the file? Is there any way?


How you construct the string that you pass to the 'use' statement is up to
you.  The following works if you put your C code in the __DATA__ section:

  use Inline C => join('', <DATA>);

 -Ken

Reply via email to