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

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
      Well in fact if I remove the line it does not compile. Probably because of hook.c beeing not used/seen.