Kenichi Ishigaki > Module-New-0.06 > Module::New

Download:
Module-New-0.06.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 0.06   Source   Latest Release: Module-New-0.10

NAME ^

Module::New - creates module/distribution skeleton and more

  From a command line

  > module_new dist Dist-Name
  > cd Dist-Name/trunk
  > module_new file Dist::Name::Plugin
  > module_new file t/dist_test.t --edit
  > module_new manifest --force

DESCRIPTION ^

This is yet another module starter. You can use this not only when you create a new distribution but also when you add a new module or test or plain text to the distribution. You may want to edit a new file after creation. You may want to update MANIFEST. This'll do.

Generally, 'module_new' command takes one recipe (sub-command) name, arguments for the recipe and global or local options if any. See appropriate PODs for details.

METHODS ^

options

specifies global command line options, which all the recipes (sub-commands) should have.

default

specifies a default recipe which would be executed when you don't give any recipe ('help' by default).

dispatch

parses command line options and dispatches to the requested recipe.

setup

sets up a context object.

context

sets up a context object if necessary, and returns the object.

AUTHOR ^

Kenichi Ishigaki, <ishigaki at cpan.org>

COPYRIGHT AND LICENSE ^

Copyright (C) 2007-2009 by Kenichi Ishigaki.

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

syntax highlighting: