jmmistrot has asked for the wisdom of the Perl Monks concerning the following question:

I have some C/C++ code I want to create a PERL binding to. Does anyone know of some resources to learn how to achieve this?

Replies are listed 'Best First'.
Re: How To Create a PERL Binding?
by friedo (Prior) on May 25, 2007 at 02:00 UTC
    If you don't want to learn the ins and outs of XS, Inline::C is a pretty good place to start. It handles most of the magic for you so you can concentrate on writing relatively simple wrappers for your C functions.
      If you don't want to learn the ins and outs of XS, Inline::C is a pretty good place to start.

      Since he mentions C++, also Inline::CPP. And another interesting module which I discovered quite recently is InlineX::XS which "Auto-converts Inline::C based modules to XS".

Re: How To Create a PERL Binding?
by Joost (Canon) on May 25, 2007 at 11:10 UTC