http://www.perlmonks.org?node_id=149328


in reply to Embed Perl into C using external modules...compile error !!!

I believe perlcc is what you seek.
from the frivolous to the serious