[Perl] Making a Perl interface to C code
Shlomi Fish
shlomif at vipe.stud.technion.ac.il
Sun Sep 1 02:43:42 PDT 2002
Hi!
You should read the perlxstut and perlxs man pages, and perhaps other man
pages listed in man perl.
Regards,
Shlomi Fish
On Sun, 1 Sep 2002, Shlomo Yona wrote:
> Hello.
>
> I the sources to some data structure implemented in ANSI-C.
>
> I would like to make a Perl Module which enables usage of this
> data structure implementation in Perl.
>
> How do I do this?
>
> I suppose I'll need to make
> 1. A Perl module which supplies the Perl interface
> 2. A Perl module which is the Perl implementation which
> actually talks to the C binaries
> 3. A Makefile (other technologies?) to build the C binaries
> 4. A CPAN package (other technologies?) for easily installing
> the C sources, building the binaries, installing the
> Perl stuff, and so on...
>
> I'd be happy to get some "from scratch" help.
>
> I have the data structure completely finished and working in ANSI C
> and have a Makefile for it.
> Now what?
>
> Thanks.
>
>
----------------------------------------------------------------------
Shlomi Fish shlomif at vipe.technion.ac.il
Home Page: http://t2.technion.ac.il/~shlomif/
Home E-mail: shlomif at iglu.org.il
He who re-invents the wheel, understands much better how a wheel works.
More information about the Perl
mailing list