For this to happen, the incrementally loaded code must use the perl stack, look at sample.c to get a better idea. All functions and non-static variables become visible from within perl. This function returns a pointer to an internal hash table corresponding to the symbol table of the newly loaded code. There is very little documentation, maybe something to do for a future release. The files sample.o, and sample2.o contain code to be incrementally loaded, test.pl is the test perl script.
Comments are welcome.
I submit this code for public consumption and, basically, am not responsible for it in any way. Return to Perl FAQ index . Return to MoxPerl Home Page . Send mail to Tom Christiansen .