1Dist::Zilla::Role::FileUMsuenrgeCro(n3t)ributed Perl DocDuimsetn:t:aZtiilolna::Role::FileMunger(3)
2
3
4
6 Dist::Zilla::Role::FileMunger - something that alters a file's
7 destination or content
8
10 version 6.031
11
13 A FileMunger has an opportunity to mess around with each file that will
14 be included in the distribution. Each FileMunger's "munge_files"
15 method is called once. By default, this method will just call the
16 "munge_file" method (note the missing terminal 's') once for each file,
17 excluding files with an encoding attribute of 'bytes'.
18
19 The "munge_file" method is expected to change attributes about the file
20 before it is written out to the built distribution.
21
22 If you want to modify all files (including ones with an encoding of
23 'bytes') or want to select a more limited set of files, you can provide
24 your own "munge_files" method.
25
27 This module should work on any version of perl still receiving updates
28 from the Perl 5 Porters. This means it should work on any version of
29 perl released in the last two to three years. (That is, if the most
30 recently released version is v5.40, then this module should work on
31 both v5.40 and v5.38.)
32
33 Although it may work on older versions of perl, no guarantee is made
34 that the minimum required version will not be increased. The version
35 may be increased for any reason, and there is no promise that patches
36 will be accepted to lower the minimum required perl.
37
39 Ricardo SIGNES 😏 <cpan@semiotic.systems>
40
42 This software is copyright (c) 2023 by Ricardo SIGNES.
43
44 This is free software; you can redistribute it and/or modify it under
45 the same terms as the Perl 5 programming language system itself.
46
47
48
49perl v5.36.1 2023-11-21 Dist::Zilla::Role::FileMunger(3)