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 4.300002
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 Ricardo SIGNES <rjbs@cpan.org>
23
25 This software is copyright (c) 2011 by Ricardo SIGNES.
26
27 This is free software; you can redistribute it and/or modify it under
28 the same terms as the Perl 5 programming language system itself.
29
30
31
32perl v5.12.4 2011-09-22 Dist::Zilla::File::FromCode(3)