Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I want the XS module I'm writing to use a module into my caller's package. Similar to what this classic eval does:
eval qq{ package $caller_package; use $module_to_use; };
I've looked thru the perl source and documentation looking for the correct XS function, but I wasn't able to find anything.
Is there such a function? Could you point me to the correct docs?
'appreciate your help!
-miguel
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XS: use module into package
by ikegami (Patriarch) on Jun 13, 2011 at 18:17 UTC | |
by Anonymous Monk on Jun 13, 2011 at 18:24 UTC | |
by ikegami (Patriarch) on Jun 13, 2011 at 18:27 UTC | |
by Anonymous Monk on Jun 13, 2011 at 18:54 UTC | |
by ikegami (Patriarch) on Jun 13, 2011 at 19:13 UTC | |
|