1Dist::Zilla::Role::FileU(s3e)r Contributed Perl DocumentaDtiisotn::Zilla::Role::File(3)
2
3
4

NAME

6       Dist::Zilla::Role::File - something that can act like a file
7

VERSION

9       version 6.012
10

DESCRIPTION

12       This role describes a file that may be written into the shipped
13       distribution.
14

ATTRIBUTES

16   name
17       This is the name of the file to be written out.
18
19   added_by
20       This is a list of strings describing when and why the file was added to
21       the distribution and when it was updated (its content, filename, or
22       other attributes).  It will generally be updated by a plugin
23       implementing the FileMunger role.  Its accessor will return the list of
24       strings, concatenated with '; '.
25
26   mode
27       This is the mode with which the file should be written out.  It's an
28       integer with the usual "chmod" semantics.  It defaults to 0644.
29

METHODS

31   is_bytes
32       Returns true if the "encoding" is bytes.  When true, accessing
33       "content" will be an error.
34

AUTHOR

36       Ricardo SIGNES 😏 <rjbs@cpan.org>
37
39       This software is copyright (c) 2018 by Ricardo SIGNES.
40
41       This is free software; you can redistribute it and/or modify it under
42       the same terms as the Perl 5 programming language system itself.
43
44
45
46perl v5.28.1                      2018-04-21        Dist::Zilla::Role::File(3)
Impressum