Hello Marvin,

Marvin Humphrey wrote:

Greets,
[snipped something]

So the question is, how can I give my helper sub access to the Perl  stack?

Book:
Extending and Embedding Perl
TIM JENNESS
SIMON COZENS

The XS functions are (simplified) PUSHs (put something to the stack), POPs (get something from the stack). I think that you can call them from _all_ functions in your XS file, or from an other .c/cpp file if you include the Perl header files.
Hope that helps, or did I missunderstand something.

regards,
Reinhard

Reply via email to