Devel::WantXS - user needs pure perl?
use Devel::WantXS; if (want_xs()) { ... # setup to compile } else { ... # setup to PP version }
This module detects the user need to use pure perl version or not.
Returns true if the user asked for the XS version or pure perl version of the module.
Will return true if <--xs> is explicitly specified as the argument to Makefile.PL, and false if <--pp> is specified. If neither is explicitly specified, will return the value specified by $default. If you do not specify the value of $default, then it will be true.
<--xs
<--pp
Goro Fuji(Original author of Module::Install::XSUtil)
Tokuhiro Matsuno(Port from Module::Install::XSUtil)
To install Module::Build::Pluggable::XSUtil, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Module::Build::Pluggable::XSUtil
CPAN shell
perl -MCPAN -e shell install Module::Build::Pluggable::XSUtil
For more information on module installation, please visit the detailed CPAN module installation guide.