in reply to Perl and C Qquestion

Hi,

There is a book on this topic: "Extending and Embedding Perl" by Tim Jenness and Simon Cozens (Manning). What you want to do falls most likely in the latter category (i.e., "embedding").

HTH.

Cheers,

X.