Maybe you could try Inline::CPP.
In reply to Re: perl c++ perlembed question by ig in thread perl c++ perlembed question by eth0nic