On Aug 16, 2008, at 23:19, Phillip Richcreek wrote: > About a week ago, I posted a request for guidance in building a .pm > file to > do some testing with an existing CPAN module, mail::transport::dbx. > Having > received no response, I'm thinking I may have been too verbose. TOO > MUCH > INFORMATION. > > So, more simply put... > > I want to test a package that will consist of three C programs and > a perl > program that makes use of the C code. Can someone point me to > documentation > that explains the steps needed to buld a .pm file from those > components? > (I've compiled the C programs and created object modules.)
I did not read your original request, but it's still a bit hard to answer your question because it's not clear what you want to do from your description. Perl can interface to C programs by invoking them using the system(), readpipe() or open() functions. Read the 'perlipc' document for more information about this style of interaction. Perl can also interface directly to C libraries with some work. Usually this is done by describing the mapping between perl and C using the XS language described in the 'perlxs' document. You find a more gentle introduction in 'perlxstut'. Regards, Gisle _______________________________________________ ActivePerl mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
