1Dist::Zilla::Plugin::GaUtsheerrFCiolnet(r3i)buted Perl DDoicsutm:e:nZtialtliao:n:Plugin::GatherFile(3)
2
3
4
6 Dist::Zilla::Plugin::GatherFile - gather individual file(s)
7
9 version 6.012
10
12 [GatherFile]
13 filename = examples/file.txt
14
16 This is a very, very simple FileGatherer plugin. It adds all the files
17 referenced by the "filename" option that are found in the directory
18 named in the "root" attribute. If the root begins with a tilde, the
19 tilde is replaced with the current user's home directory according to
20 File::HomeDir.
21
22 Since normally every distribution will use a GatherDir plugin, you
23 would only need to use the GatherFile plugin if the file was already
24 being excluded (e.g. from an "exclude_match" configuration).
25
27 root
28 This is the directory in which to look for files. If not given, it
29 defaults to the dist root -- generally, the place where your dist.ini
30 or other configuration file is located.
31
32 prefix
33 This parameter can be set to place the gathered files under a
34 particular directory. See the description above for an example.
35
36 filename
37 The name of the file to gather, relative to the "root". Can be used
38 more than once.
39
41 Ricardo SIGNES 😏 <rjbs@cpan.org>
42
44 This software is copyright (c) 2018 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.28.1 2018-04-21Dist::Zilla::Plugin::GatherFile(3)