1Dist::Zilla::Role::FileUIsnejrecCtoonrt(r3i)buted Perl DDoicsutm:e:nZtialtliao:n:Role::FileInjector(3)
2
3
4
6 Dist::Zilla::Role::FileInjector - something that can add files to the
7 distribution
8
10 version 6.031
11
13 This role should be implemented by any plugin that plans to add files
14 into the distribution. It provides one method ("add_file", documented
15 below), which adds a file to the distribution, noting the place of
16 addition.
17
19 This module should work on any version of perl still receiving updates
20 from the Perl 5 Porters. This means it should work on any version of
21 perl released in the last two to three years. (That is, if the most
22 recently released version is v5.40, then this module should work on
23 both v5.40 and v5.38.)
24
25 Although it may work on older versions of perl, no guarantee is made
26 that the minimum required version will not be increased. The version
27 may be increased for any reason, and there is no promise that patches
28 will be accepted to lower the minimum required perl.
29
31 add_file
32 $plugin->add_file($dzil_file);
33
34 This adds a file to the distribution, setting the file's "added_by"
35 attribute as it does so.
36
38 Ricardo SIGNES 😏 <cpan@semiotic.systems>
39
41 This software is copyright (c) 2023 by Ricardo SIGNES.
42
43 This is free software; you can redistribute it and/or modify it under
44 the same terms as the Perl 5 programming language system itself.
45
46
47
48perl v5.36.1 2023-11-21Dist::Zilla::Role::FileInjector(3)