in reply to
xs code in a perl module
Youve confused module (package associated with a .pm file) with module distribution (tarball/dirtree), All you need to do is merge one tree into the other (.pm .xs .pod .h .c) and copy the prerequisites list into Write/Makefile.PL
Comment on
Re: xs code in a perl module
Replies are listed 'Best First'.
Re^2: xs code in a perl module
by
Anonymous Monk
on Oct 25, 2017 at 12:41 UTC
And ditch the object argument youre doing wrong(hardcoding filenames) what makemaker will do automatically
[reply]
Re^3: xs code in a perl module
by
frazap
(Monk)
on Oct 26, 2017 at 13:22 UTC
Well in fact if I remove the line it does not compile. Probably because of hook.c beeing not used/seen.
[reply]
In Section
Seekers of Perl Wisdom