On 11.12.2003, at 09:23, Sisyphus wrote:
I don't know anything about mod_perl, but I gather that it *is* possible to use inline with mod_perl - at least there's an example of such in 'perldoc Inline::C-Cookbook'.... perhaps there are some ifs and buts as well, wrt inline and mod_perl :-)
Interesting... I'd be interested to hear first-hand stories from people who got it to work...
In the mean time, I repackaged it as XS module and that seems to work well too.
Does that then solve your problem ?
Yes. But it doubled the effort, and the point of using Inline was to avoid XS. In the end we had to do both.
Next time we would simply not bother with Inline and to XS directly.
If not, did you use Inline to build that XS module or did you build the XS module in the usual way (independently of Inline) ?
Independently of Inline. It wasn't much code.
If you build your module using Inline, then that module still (I believe) needs Inline to run.
Yes, that is what we tried first, and the resulting module looked pretty much like a regular, XS-built module, same names for the .so files etc. But the C code just never got loaded.
Cheers
-Marc
_________________________________________________________________ Marc Liyanage [EMAIL PROTECTED] http://www.entropy.ch iChat: [EMAIL PROTECTED]
Yoda I am. Grammar I can't. _________________________________________________________________