did u try a here doc yet??
i.e.:
package test;
use Inline C => <<'_EOT';
void c_hello(char* who)
{
printf("Hello, %s!\n", who);
}
_EOT
use strict;
etc..
--
___cliff [EMAIL PROTECTED]http://www.genwax.com/
"Kort, Eric" wrote:
> module below. But this dies with "No C source code found..." when I try to
> call test::hello. Is there a way to make this work?
>
>
> ---8<----test.pm-------------------------
> package test;
>
> use Inline C;
> use strict;
>
> sub hello
> {
> c_hello($_[0]);
> }
>
> 1;
>
> __END__
>
> __C__
>
> void c_hello(char* who)
> {
> printf("Hello, %s!\n", who);
> }