[mplspm]: Tips for building an *.xs module?
Thomas Eibner
thomas at stderr.net
Wed Oct 10 10:19:11 CDT 2001
On Wed, Oct 10, 2001 at 09:18:31AM -0500, 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.
xs is far to difficult to get started with, did you try looking at
Inline::C? It's dead-easy for embedding C in Perl.
--
Thomas Eibner <http://thomas.eibner.dk/> DnsZone <http://dnszone.org/>
mod_pointer <http://stderr.net/mod_pointer>
--------------------------------------------------
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