DOKK / manpages / debian 10 / libdist-zilla-perl / Dist::Zilla::Role::FileInjector.3pm.en
Dist::Zilla::Role::FileInjector(3pm) User Contributed Perl Documentation Dist::Zilla::Role::FileInjector(3pm)

Dist::Zilla::Role::FileInjector - something that can add files to the distribution

version 6.012

This role should be implemented by any plugin that plans to add files into the distribution. It provides one method ("add_file", documented below), which adds a file to the distribution, noting the place of addition.

  $plugin->add_file($dzil_file);

This adds a file to the distribution, setting the file's "added_by" attribute as it does so.

Ricardo SIGNES 😏 <rjbs@cpan.org>

This software is copyright (c) 2018 by Ricardo SIGNES.

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

2018-05-07 perl v5.26.2