Module::Provision::TraitFor::AddingFiles - Adds additional files to the project
use Moose; extends 'Module::Provision::Base'; with 'Module::Provision::TraitFor::AddingFiles';
Adds additional modules, programs, and tests to the project
Requires the following attributes to be defined in the consuming class; add_to_vcs, appldir, binsdir, exec_perms, libdir, module_abstract, render_template, stash, and testdir
add_to_vcs
appldir
binsdir
exec_perms
libdir
module_abstract
render_template
stash
testdir
Modifies the generate_metadata method. If generate_metadata returns a pathname and the file exists it is added to the VCS
generate_metadata
Defines no attributes
$exit_code = $self->module;
Creates a new module specified by the class name on the command line
$exit_code = $self->program;
Creates a new program specified by the program name on the command line
$exit_code = $self->test;
Creates a new test specified by the test file name on the command line
$exit_code = $self->update;
After changes have been made to template files the command can be used to update individual project files
None
There are no known incompatibilities in this module
There are no known bugs in this module. Please report problems to the address below. Patches are welcome
Larry Wall - For the Perl programming language
Peter Flanigan, <pjfl@cpan.org>
<pjfl@cpan.org>
Copyright (c) 2017 Peter Flanigan. All rights reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic
This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE
To install Module::Provision, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Module::Provision
CPAN shell
perl -MCPAN -e shell install Module::Provision
For more information on module installation, please visit the detailed CPAN module installation guide.