While we await Brian's completion of the mechanism to create disributable
modules via Inline, I would like to use Inline within a module, as in the
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?

Thanks,
Eric

---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);
  }

Reply via email to