Dist::Zilla::Role::ModuleIncluder - Include modules and their dependencies in inc/
version 0.008
This role allows your plugin to include one or more modules into the distribution for build time purposes. The modules will not be installed.
This decides if dependencies should be included as well. This defaults to true.
Include all modules (and possibly their dependencies) in @$modules, in inc/, except those that are core modules as of perl version $background_perl (which is expected to be a version object). $options is a hash that currently has only one possible key, blacklist, to specify dependencies that shouldn't be included.
@$modules
$background_perl
$options
blacklist
All the file objects that were added to the distribution are returned as a list.
Leon Timmermans <leont@cpan.org>
This software is copyright (c) 2011 by Leon Timmermans.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Dist::Zilla::Role::ModuleIncluder, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Role::ModuleIncluder
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Role::ModuleIncluder
For more information on module installation, please visit the detailed CPAN module installation guide.