in reply to Interacting c language functions thru perl

Read the XS docs: perlxstut, perlxs, perlapi, perlcall.

You can also use Inline::C (very good for simple things) or SWIG to create wrappers for C libraries.

  • Comment on Re: Interacting c language functions thru perl

Replies are listed 'Best First'.
Re^2: Interacting c language functions thru perl
by bart (Canon) on Sep 14, 2007 at 10:30 UTC
    A very nice addition to the standard docs is Gisle Aas' Perlguts Illustrators, showing nice little diagrams for the internal data structure. If you really plan on going that route. :)