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.012
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 Ricardo SIGNES 😏 <rjbs@cpan.org>
28
30 This software is copyright (c) 2018 by Ricardo SIGNES.
31
32 This is free software; you can redistribute it and/or modify it under
33 the same terms as the Perl 5 programming language system itself.
34
35
36
37perl v5.28.0 2018-04-21 Dist::Zilla::Role::FileMunger(3)