1Dist::Zilla::File::FromUCsoedre(C3o)ntributed Perl DocumDeinstta:t:iZoinlla::File::FromCode(3)
2
3
4
6 Dist::Zilla::File::FromCode - a file whose content is (re-)built on
7 demand
8
10 version 6.017
11
13 This represents a file whose contents will be generated on demand from
14 a callback or method name.
15
16 It has one attribute, "code", which may be a method name (string) or a
17 coderef. When the file's "content" method is called, the code is used
18 to generate the content. This content is not cached. It is recomputed
19 every time the content is requested.
20
22 code_return_type
23 'text' or 'bytes'
24
25 encoding
26 content
27 encoded_content
29 Ricardo SIGNES 😏 <rjbs@cpan.org>
30
32 This software is copyright (c) 2020 by Ricardo SIGNES.
33
34 This is free software; you can redistribute it and/or modify it under
35 the same terms as the Perl 5 programming language system itself.
36
37
38
39perl v5.32.1 2021-01-27 Dist::Zilla::File::FromCode(3)