If I'm not mistaken, then I can compile C code into perl that I can call from perl. But that doesn't quite solve
my problem - because it won't allow me to call the C functions that started up the perl interpretor in the first place, will it? It just calls the C functions that were compiled into the perl library - right? Take a look at the example pseudo-code I want to be able to do - I want to call a function in the original C code that alters state inside that space.