DOKK / manpages / debian 11 / 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.017

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) 2020 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.

2020-11-04 perl v5.30.3