i cant provide a test script ... all i got is what youve already postet ... a working embedded perl script that IS NOT ABLE to call functions from the part of the programm/code that embedded the actual perl script :-)
now the c++ code will embed perl and run larry.pl ... now i want larry.pl to be able to access the foobar() function that was declared in the c++ code that actually embedded the larry.pl script. NOT any other laying around c++/c code r module.