[Perl] Interfacing with C object file

Offer Kaye oferk at oren.co.il
Sun Nov 3 06:06:10 PST 2002


>
> Hi all,
>
> Suppose I have a C object file (say, foo.o) and an
> interface to i (say, foo.h). How would I go about
> using it in my Perl script ?
>
> More to the point, this library is an API for writing
> files in some format. I want to do all the input
> reading & processing in Perl and then call the API's
> to write output. Is this possible ?
>
> Thanks in advance
>
> Eli
>

DynaLoader? - see:
	perldoc DynaLoader
or:
http://search.cpan.org/author/JHI/perl-5.8.0/ext/DynaLoader/DynaLoader_pm.PL

Hope this helps :-)
Offer Kaye




More information about the Perl mailing list