Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: XS Library - Embedding C code in Perl

by talexb (Canon)
on Nov 13, 2002 at 22:34 UTC ( #212714=note: print w/ replies, xml ) Need Help??


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
Re: Re: XS Library - Embedding C code in Perl
by bart (Canon) on Nov 13, 2002 at 22:50 UTC
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"'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://212714]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2014-08-30 04:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls