Instead of "hard" (in-process) linking which is segfault prone and hard to do right the first time, I would suggest splitting the Perl job into a separate process. There are at least two ways to do this:
Update: braino - Perl code is the callee, not the caller, so the doc pointers are not immediately relevant. Good material for reading, though.
In reply to Re: Linking to Perl from Pascal
by calin
in thread Linking to Perl from Pascal
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |