See Inline::CPP, perlxstut, perlembed.
In reply to Re: Interface Perl with C++ by Fletch in thread Interface Perl with C++ by Anonymous Monk