1Dist::Zilla::File::FromUCsoedre(C3o)ntributed Perl DocumDeinstta:t:iZoinlla::File::FromCode(3)
2
3
4

NAME

6       Dist::Zilla::File::FromCode - a file whose content is (re-)built on
7       demand
8

VERSION

10       version 6.023
11

DESCRIPTION

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

PERL VERSION

22       This module should work on any version of perl still receiving updates
23       from the Perl 5 Porters.  This means it should work on any version of
24       perl released in the last two to three years.  (That is, if the most
25       recently released version is v5.40, then this module should work on
26       both v5.40 and v5.38.)
27
28       Although it may work on older versions of perl, no guarantee is made
29       that the minimum required version will not be increased.  The version
30       may be increased for any reason, and there is no promise that patches
31       will be accepted to lower the minimum required perl.
32

ATTRIBUTES

34   code_return_type
35       'text' or 'bytes'
36
37   encoding
38   content
39   encoded_content

AUTHOR

41       Ricardo SIGNES 😏 <rjbs@semiotic.systems>
42
44       This software is copyright (c) 2021 by Ricardo SIGNES.
45
46       This is free software; you can redistribute it and/or modify it under
47       the same terms as the Perl 5 programming language system itself.
48
49
50
51perl v5.34.0                      2021-07-22    Dist::Zilla::File::FromCode(3)
Impressum