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 DynaLoader. 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.
To install if, copy and paste the appropriate command in to your terminal.
cpanm
cpanm if
CPAN shell
perl -MCPAN -e shell install if
For more information on module installation, please visit the detailed CPAN module installation guide.