Perl-Sensitive Sunglasses | |
PerlMonks |
Re^5: Perl calls C calls Perl CallBack: How Perl callback use the same interpreter/context as Perl caller?by Corion (Patriarch) |
on Jul 08, 2014 at 11:39 UTC ( [id://1092709]=note: print w/replies, xml ) | Need Help?? |
I thought that my_perl was a variable in your C code, but I now realize that your C code gets called from Perl. I don't find a convenient way in perlguts, perlapi or perlcall, but maybe you don't even need special things like passing the Perl interpreter around as the current Perl interpreter already is a global variable.
In Section
Seekers of Perl Wisdom
|
|