1 | One can interface Perl5 code with C using an interface constructor called xsubpp |
2 | This manipulates an existing C library and allows it to be accessed through a designated Perl module |
3 | Simple datatypes can be handled automatically but user must manipulate complex C datastructures in special xsub code |
4 | see PerlXS and PerlXSTUT manual entries |
5 | Also PerlCALL and PerlEMBED manual pages describe how to call Perl from C |
6 | One can add a Perl Interpreter to your C program, execute a Perl statement such as a pattern match or execute a full Perl subroutine |