NAME
Module::New::Recipe::File - create a file
USAGE
From the shell/command line:
- module_new file Module::Name
-
creates
lib/Module/Name.pm(with::File::Moduletemplate). - module_new file t/test.t
-
creates
t/test.t(with::File::Testtemplate). - module_new file bin/script
-
creates
bin/script(with::File::Scripttemplate).
OPTIONS
- type
-
module_new file --type=MainModule Main::ModuleYou can explicitly specify a file type (actually a template module under the
::Filenamespace) with this option. - in
-
module_new file Test::Module --in tcreates
t/lib/Test/Module.pm, not <lib/Test/Module.pm>. - edit
-
module_new file Test::Module --editIf set to true, you can edit the file you created.
AUTHOR
Kenichi Ishigaki, <ishigaki at cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2007 by Kenichi Ishigaki.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.