[mplspm]: Tips for building an *.xs module?

Troy DeJongh troyd at pobox.com
Wed Oct 10 09:30:09 CDT 2001


Mark Conty wrote:
> Hi --
> 
> I'm 'bout to embark on building an *.xs module for a set of an HP-provided
> library functions that we use here at work.  Up until now, I've been calling
> these routines with system() or open(PIPE,...), but I want to take advantage
> of these library routines instead, to keep from having to spawn subordinate
> shell processes unnecessarily.
> 
> I'm starting to read through the 'perlxstut' man page, and I know about the
> 'perlxs' and 'h2xs' man pages, but I thought I'd check if any of you have
> done this kind of thing recently and could pass along any tips/pointers.

Mark, 

Swig will get you where you wanna be in no time (that is, if my
assessment of what you're trying to do is correct).  Check out:

   http://www.swig.org


Take care.

--Troy

-- 
Troy DeJongh                                       http://pobox.com/~troyd



--------------------------------------------------
Minneapolis Perl Mongers mailing list

To unsubscribe, send mail to majordomo at pm.org
with "unsubscribe mpls" in the body of the message.



More information about the Mpls-pm mailing list