NAME

Module::Starter - Starter kit for any module

Version

Version 0.04

$Header: /home/cvs/module-starter/Starter.pm,v 1.22 2004/04/06 01:52:07 andy Exp $

Synopsis

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=andy@petdance.com

Package variables

  • $verbose

  • $force

  • $author

  • $email

  • $license

Functions

create_distro()

Takes a hash of parms:

dir => $dirname,
modules => [ module names ],
distro => $distroname,
builder => 'Module::Build', # Defaults to ExtUtils::MakeMaker

create_directory( $dir [, $force ] )

Creates a directory at $dir. If the directory already exists, and $force is true, then the existing directory will get erased.

If the directory can't be created, or re-created, it dies.

create_modules( $dir, @modules )

Creates starter modules for each of the modules passed in.

NAME

$module - The great new $module!

Version

Version 0.01

Synopsis

Quick summary of what the module does.

Perhaps a little code snippet.

use $module;

my \$foo = $module->new();
...

Export

A list of functions that can be exported. You can delete this section if you don't export anything, such as for a purely object-oriented module.

Functions

function1

function2

Author

$author, <$email>

Bugs

Please report any bugs or feature requests to bug-$rtname\@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 & License

Copyright $year $author, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

create_Makefile_PL( $basedir, $distro, $main_module )

Creates a Makefile.PL for the given module distro.

create_Build_PL( $basedir, $distro, $main_module )

Creates a Build.PL for the given module distro.

create_Changes( $basedir, $distro )

Creates a skeleton Changes file.

create_t( $basedir, @modules )

Creates a bunch of *.t files for the modules.

create_MANIFEST( $basedir, @files )

Must be run last, because all the other create_* functions have been returning the functions they create.

create_cvsignore( $basedir, $distro )

Create .cvsignore file in the root so that your CVS knows to ignore certain files.

Description

Export

Bugs

Please report any bugs or feature requests to bug-module-starter@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.

Author

Andy Lester, <andy@petdance.com>

Copyright & License

Copyright 2004 Andy Lester, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Please note that these modules are not products of or supported by the employers of the various contributors to the code.