Egg::Helper::Build::Module - The module file complete set is generated.
% perl -MEgg::Helper::Build::Module \ -e 'Egg::Helper::Build::Module->build_script' \ > /path/to/egg_module_builder.pl % perl egg_module_builder.pl MyModule
It is a helper who generates the module file complete set.
This helper generates the file complete set that ExtUtils::MakeMaker outputs.
The thing that starts specifying the mode of the helper script can be done, and the thing that generates a special script from 'build_script' method and uses it can be done.
The file complete set is generated when starting specifying the module name made for the generated script.
% perl egg_module_builder.pl [MODULE_NAME]
The file that this module outputs is as follows.
Build.PL Changes Makefile.PL MANIFEST README t/00_use.t t/89_pod.t t/98_perlcritic.t t/99_pod_coverage.t~
The start script only for this helper is returned and the code is returned.
% perl -MEgg::Helper::Build::Module -e 'Egg::Helper::Build::Module->build_script'
The ARRAY reference into which MODULE_NAME is divided by ':' and '-' is returned.
Undefined is returned if there is suitably no divided each value as a module name of Perl.
my $parts= $self->helper_mod_name_split($module_name) || return 0;
Each template of the output file is settled by the ARRAY reference and it returns it.
Each value of ARRAY is HASH form to pass it to 'helper_create_files' method.
my $files= $self->helper_mod_template;
Egg::Release, Egg::Helper,
Masatoshi Mizuno <lushe@cpan.org>
Copyright (C) 2008 Bee Flag, Corp. <http://egg.bomcity.com/>, All Rights Reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.
To install Egg::Release, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Egg::Release
CPAN shell
perl -MCPAN -e shell install Egg::Release
For more information on module installation, please visit the detailed CPAN module installation guide.