"Kort, Eric" wrote:
>
> 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
You can and should write modules easily with Inline. Just don't put them
on CPAN yet, or people may complain. The problem is when you install a
new version of your module, the old shared object will be left sitting
in the install tree, because it will have a different name than the new
one. The other problem is that you need to use the 'make test'
compilation trick (see the doc) which is nonstandard. If the user skips
'make test' problems could result.
For personal use it's just fine.
> 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?
This is a Window's line-endings in Unix problem which I fixed in v0.32.
It has nothing to do with being in a module. Upgrade today!
Cheers, Brian
--
perl -le 'use Inline C=>q{SV*JAxH(char*x){return newSVpvf
("Just Another %s Hacker",x);}};print JAxH+Perl'