09 Nov 2007 23:46:23 UTC
- Distribution: Module-Starter
- Module version: 1.470
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (8)
- Testers (255 / 1 / 2)
- KwaliteeBus factor: 2
- License: perl_5
- Activity24 month
- Download (27.35KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version
Module::Starter - a simple starter kit for any module
Nothing in here is meant for public consumption. Use module-starter from the command line.
module-starter --module=Foo::Bar,Foo::Bat \ --author="Andy Lester" --email@example.com
This is the core module for Module::Starter. If you're not looking to extend or alter the behavior of this module, you probably want to look at module-starter instead.
Module::Starter is used to create a skeletal CPAN distribution, including basic builder scripts, tests, documentation, and module code. This is done through just one method,
create_distrois the only method you should need to use from outside this module; all the other methods are called internally by this one.
This method creates orchestrates all the work; it creates distribution and populates it with the all the requires files.
It takes a hash of params, as follows:
distro => $distroname, # distribution name (defaults to first module) modules => [ module names ], # modules to create in distro dir => $dirname, # directory in which to build distro builder => 'Module::Build', # defaults to ExtUtils::MakeMaker # or specify more than one builder in an # arrayref license => $license, # type of license; defaults to 'perl' author => $author, # author's full name (required) email => $email, # author's email address (required) verbose => $verbose, # bool: print progress messages; defaults to 0 force => $force # bool: overwrite existing files; defaults to 0
Module::Starter itself doesn't actually do anything. It must load plugins that implement
create_distroand other methods. This is done by the class's
importroutine, which accepts a list of plugins to be loaded, in order.
For more information, refer to Module::Starter::Plugin.
<petdance at cpan.org>
<rjbs at cpan.org>
<cjac at colliertech.org>
You can find documentation for this module with the perldoc command.
perldoc Module::Starter You can also look for information at:
Source code at Google Code
AnnoCPAN: Annotated CPAN documentation
RT: CPAN's request tracker
Please report any bugs or feature requests to
bug-module-starter at rt.cpan.org, or through the web interface at http://rt.cpan.org. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
Copyright 2005-7 Andy Lester, Ricardo Signes and C.J. Adams-Collier, All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Module Install Instructions
To install Module::Starter, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Module::Starter
For more information on module installation, please visit the detailed CPAN module installation guide.