Module::Starter::XSimple is a Perl module to create XS modules with Module::Starter.
Replacement class for Module::Starter::Simple.
Can be used in two ways:
Using the commandline
Pass as an override class to the module-starter script:
module-starter --module=[modulename]
--class=Module::Starter::XSimple
Using a config file
Create a .module-starter/config file with at least the following:
author: your name
email: your_address@example.com
builder: Module::Build
plugins: Module::Starter::XSimple
At present, M::S::XSimple only supports Module::Build, because the XS and associated files locations are different between Module::Build and ExtUtils::ModuleMaker.
All methods are replacements or additions to the methods provided by Module::Starter::Simple.
Build_PL_guts
Creates the custom Build.PL file for the generated module.
create_modules
Creates the .PM, .XS, and typemap files for each requested module. Calls the following three subs:
module_guts
Generates the .PM file from skeleton code.
xsmodule_guts
Generates the .XS file from skeleton code.
typemap_guts
Generates the typemap file from skeleton code.
module_path_create
Replacement sub for M::S::Simple routine; permits the caller to set the file extension when creating non .PM files.
rtname
Generate the special e-mail address to use when reporting bugs via rt.cpan.org.
t_guts
Add additional test files.
Product's homepage
Requirements:
· Devel::PPPort
· Module::Starter
· Test::More
· version
· Perl