On Wed, Nov 30, 2005 at 04:46:16PM -0000, Dermot Paikkos wrote: > There are some functions in a C library that I would like to use and > I was wondering if it is possible to do so from perl. > > I started reading the perlxstut and this seems like the way forward > but I was hoping someone could confirm it for me before I throw > myself completely into it. > > Can you harness functions from a C libraries into perl? And if so is > xs the way?
Yes and yes. You might like to check out Inline::C and swig, but my preference is to XS. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>