1Dist::Zilla::Plugin::GaUtsheerrDCiorn:t:rTiebmuptDleiadstteP:(e:3rZ)lilDloac:u:mPelnutgaitni:o:nGatherDir::Template(3)
2
3
4

NAME

6       Dist::Zilla::Plugin::GatherDir::Template - gather all the files in a
7       directory and use them as templates
8

VERSION

10       version 6.024
11

DESCRIPTION

13       This is a subclass of the GatherDir plugin.  It works just like its
14       parent class, except that each gathered file is processed through
15       Text::Template.
16
17       The variables $plugin and $dist will be provided to the template, set
18       to the GatherDir::Template plugin and the Dist::Zilla object,
19       respectively.
20
21       It is meant to be used when minting dists with "dzil new", but could be
22       used in building existing dists, too.
23

PERL VERSION

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

ATTRIBUTES

37   rename
38       Use this to rename files while they are being gathered.  This is a list
39       of key/value pairs, specified thus:
40
41           [GatherDir::Template]
42           rename.DISTNAME = $dist->name =~ s/...//r
43           rename.DISTVER  = $dist->version
44
45       This example will replace the tokens "DISTNAME" and "DISTVER" with the
46       expressions they are associated with. These expressions will be treated
47       as though they were miniature Text::Template sections, and hence will
48       receive the same variables that the file itself receives, i.e. $dist
49       and $plugin.
50

AUTHOR

52       Ricardo SIGNES 😏 <rjbs@semiotic.systems>
53
55       This software is copyright (c) 2021 by Ricardo SIGNES.
56
57       This is free software; you can redistribute it and/or modify it under
58       the same terms as the Perl 5 programming language system itself.
59
60
61
62perl v5.34.0                      20D2i2s-t0:1:-Z2i1lla::Plugin::GatherDir::Template(3)
Impressum