in reply to C to perl binding using XSLoader?
XSLoader is not for loading code written in C; it is for code written in XS. Yes, XS is C, but thanks to preprocessing it's such a strange dialect of C that it's barely recognizable as C at all.
Here's a fairly small example of a module that uses XS including the XS (C) code, a Makefile.PL, and other support files. Feel free to use it as a crib sheet.
|
|---|