in reply to How to call C++ from perl
To see more about how to call C from Perl, see perlxs and perlguts. The inverse, how to call Perl from C, you can find in perlembed.
Update: Inline::CPP is another option, but requires you to compile the code when you run the script. This may or may not be convenient for your scripting and distribution purposes.
--
[ e d @ h a l l e y . c c ]
|
|---|