My guess would be the problem is that the OP is using perl_clone() (which you are not), and that the callback code is being executed in the wrong (cloned) interpreter. (As usual, it would help to see the OP's actual code, though...)
In reply to Re^2: Extending & Embedding Perl simultaneously: How to share a scalar between perl callback sub and main body?
by almut
in thread Extending & Embedding Perl simultaneously: How to share a scalar between perl callback sub and main body?
by perlmonk1729
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |