Example #6 README

This is an example of how to include a statically linked extension into our proggie, with automatic bootstrap of the extension from within C space - so that Perl space user scripts don't have to explicitly `use' the extension, which they'd always have to otherwise, as long as they'd be intended to run in our custom embedded interpreter.

Also note that there's a Perl-space global named variable being initialized to hold the pointer to a C++ object - even before the user script is run.

This particular example plays with calling perl code from within C++, passing simple scalar arguments in and out, and evaluating anonymous subs and calling them by CV from C++ space (as there's no sub name to use).

This particular example contains no Threads.

Lessons learned (see the example code):

References & credits: