Leon Timmermans
and 1 contributors

NAME

Dist::Zilla::Role::ModuleIncluder - Include modules and their dependencies in inc/

VERSION

version 0.008

DESCRIPTION

This role allows your plugin to include one or more modules into the distribution for build time purposes. The modules will not be installed.

ATTRIBUTES

include_dependencies

This decides if dependencies should be included as well. This defaults to true.

METHODS

include_modules($modules, $background_perl, $options)

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.

All the file objects that were added to the distribution are returned as a list.

AUTHOR

Leon Timmermans <leont@cpan.org>

COPYRIGHT AND LICENSE

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.