XSLoader - Dynamically load C libraries into Perl code |
XSLoader - Dynamically load C libraries into Perl code
package YourPackage; use XSLoader;
XSLoader::load 'YourPackage', @args;
This module defines a standard simplified interface to the dynamic linking mechanisms available on many platforms. Its primary purpose is to implement cheap automatic dynamic loading of Perl modules.
For more complicated interface see the DynaLoader manpage. Many (most) features of DynaLoader are not implemented in XSLoader, like for example the dl_load_flags is not honored by XSLoader.
Ilya Zakharevich: extraction from DynaLoader.
XSLoader - Dynamically load C libraries into Perl code |