in reply to Re^2: perl c++ perlembed question
in thread perl c++ perlembed question

It doesn't matter which code embeds what. The only real difference between embedding perl in C and C in perl is that if you embed C code in perl you can use the standard perl interpreter to start everything, and otherwise you'll have to "manually" start the perl interpreter using a (short) bootstrap sequence in C.

Once you've done that, you can call into C and C++ functions from perl and vice versa regardless of how the startup procedure was executed.

Replies are listed 'Best First'.
Re^4: perl c++ perlembed question
by eth0nic (Initiate) on Jun 27, 2009 at 20:43 UTC
    and once more ... i dont want to just call some random XS wrapped funcs ... i want to call funcs that i declared in c++ BEFORE starting the perlembed stuff already ... they are in the memory ... i want to access them from the embdedded perl script ...
Re^4: perl c++ perlembed question
by eth0nic (Initiate) on Jun 27, 2009 at 20:39 UTC
    this still does not answer my question about the "HOW" ... :-(