in reply to Re^3: How to call Encode::decode from Perl XS
in thread How to call Encode::decode from Perl XS
If you want a module to automatically load another module from XS, and not import all functions/methods,
Not importing can be done from Perl too. It's not an advantage of XS. In Perl, not importing is done by using
oruse Exporter qw( );
instead ofrequire Exporter;
use Exporter;
As for automaticallydynamically loading a module, a need hasn't been mentioned.
Update: Added first two sentences to clear up confusion mentioned in private message.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How to call Encode::decode from Perl XS
by mje (Curate) on May 09, 2011 at 16:22 UTC | |
by ikegami (Patriarch) on May 09, 2011 at 16:29 UTC |