hm but that also does not call a function from the c++ code from within the power.pl script?
i wanted
c++ with a func bla() and an embedded perl interpreter
this c++ programm is executed and running
it embeds a perl interpreter that runs foo.pl invoked with some param
foo.pl runs and executes bla() from the c++ script and gets some return value from the bla() func
foo.pl returns something to the c++ program
...