dist_cooker - create a Perl distribution skeleton from personal templates
# from the command line, to create a distribution for Module::Name % dist_cooker Module::Name Description> ... Repository> ...
dist_cooker builds a Perl distribution skeleton from template files. You create the templates however you like.
dist_cooker
By default, I assume my own favorite values, and haven't made these customizable yet.
When cook processes the templates, it provides definitions for these template variables:
cook
The author name is the first true value of the DIST_COOKER_AUTHOR environment variable, the value of `git config user.name`, or a default value.
Taken from the prompt
Derived from the module name
The author name is the first true value of the DIST_COOKER_EMAIL environment variable, the value of `git config user.email`, or a default value.
Taken from the command-line arguments
Taken from the configuration
To provide a different set of defaults, or more customizable behavior, create your own subclass of Distribution::Cooker. Specialize the parts that you need.
Distribution::Cooker
Distribution::Cooker needs to provide a way for people to override the defaults without having to write a subclass.
Other modules, such as Module:Starter, do a similar job but don't give you as much flexibility with your templates.
Module:Starter
This module is in Github:
http://github.com/briandfoy/distribution-cooker/
brian d foy, <briandfoy@pobox.com>
<briandfoy@pobox.com>
Copyright © 2008-2024, brian d foy <briandfoy@pobox.com>. All rights reserved.
You may redistribute this under the same terms as Perl itself.
To install Distribution::Cooker, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Distribution::Cooker
CPAN shell
perl -MCPAN -e shell install Distribution::Cooker
For more information on module installation, please visit the detailed CPAN module installation guide.