NAME

Egg::Helper::Build::Module - The module file complete set is generated.

SYNOPSIS

% perl -MEgg::Helper::Build::Module \
  -e 'Egg::Helper::Build::Module->build_script' \
   > /path/to/egg_module_builder.pl

% perl egg_module_builder.pl MyModule

DESCRIPTION

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~

METHODS

build_script

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'

helper_mod_name_split ([MODULE_NAME])

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;

helper_mod_template

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;

SEE ALSO

Egg::Release, Egg::Helper,

AUTHOR

Masatoshi Mizuno <lushe@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2008 Bee Flag, Corp. <http://egg.bomcity.com/>.

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.