in reply to Re: Extending & Embedding Perl simultaneously: How to share a scalar between perl callback sub and main body?
in thread Extending & Embedding Perl simultaneously: How to share a scalar between perl callback sub and main body?
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...)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Extending & Embedding Perl simultaneously: How to share a scalar between perl callback sub and main body?
by perlmonk1729 (Acolyte) on Dec 02, 2009 at 05:52 UTC | |
by perlmonk1729 (Acolyte) on Dec 03, 2009 at 08:47 UTC | |
by BrowserUk (Patriarch) on Dec 03, 2009 at 09:18 UTC | |
by perlmonk1729 (Acolyte) on Dec 03, 2009 at 16:47 UTC | |
by perlmonk1729 (Acolyte) on Dec 03, 2009 at 19:12 UTC | |
|