http://www.perlmonks.org?node_id=212714


in reply to XS Library - Embedding C code in Perl

The stock answer for this question is "Use Inline::C instead". Having never used either, I can't base my recommendation on any experience .. just on what I've heard.

--t. alex
but my friends call me T.
  • Comment on Re: XS Library - Embedding C code in Perl

Replies are listed 'Best First'.
Re: Re: XS Library - Embedding C code in Perl
by rob_au (Abbot) on Nov 13, 2002 at 22:56 UTC
    I would concur with the comments of talexb above - I have found Inline::C to make incorporating C and Perl code together incredibly easy.

    The only thing which I would add to talexb's post is a few links for further information:

     

    perl -e 'print+unpack("N",pack("B32","00000000000000000000000111011110")),"\n"'

Re: Re: XS Library - Embedding C code in Perl
by bart (Canon) on Nov 13, 2002 at 22:50 UTC