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


in reply to Re: XS Library - Embedding C code in Perl
in thread XS Library - Embedding C code in Perl

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"'

  • Comment on Re: Re: XS Library - Embedding C code in Perl