in reply to How to call C++ from perl

There's an example in Extending and Embedding Perl by Tim Jenness and Simon Cozens.

A great book, by the way.