Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^6: Inline::C and Packaged Distributions

by demerphq (Chancellor)
on Oct 04, 2005 at 16:06 UTC ( #497311=note: print w/replies, xml ) Need Help??


in reply to Re^5: Inline::C and Packaged Distributions
in thread Inline::C and Packaged Distributions

Ahm, shoot. My apologies. You need to enable the option that tells Inline not to clean up after itself. I think you want something like

use Inline Config => ENABLE => FORCE_BUILD, DISABLE => CLEAN_AFTER_BUILD;

or the equivelent

use Inline Config => FORCE_BUILD => 1, CLEAN_AFTER_BUILD => 0;

IIRC, this should come before you say

use Inline::C;

BTW, I assure you that Inline::C does indeed produce XS. :-) In fact thats exactly what Inline::C does for you: autogenerate XS bindings for the C routines you provide.

---
$world=~s/war/peace/g

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2020-01-26 07:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?