Would Inline::CPP help?
In reply to Re: embedding perl in c++ by clueless newbie in thread embedding perl in c++ by divitto