1Dist::Zilla::Plugin::FiUlseeFrinCdoenrt:r:iBbyuNtaeDmdies(Pt3e:)r:lZiDlolcau:m:ePnltuagtiino:n:FileFinder::ByName(3)
2
3
4
6 Dist::Zilla::Plugin::FileFinder::ByName - FileFinder matching on
7 pathnames
8
10 version 6.017
11
13 In your dist.ini:
14
15 [FileFinder::ByName / MyFiles]
16 dir = bin ; look in the bin/ directory
17 dir = lib ; and the lib/ directory
18 file = *.pl ; for .pl files
19 match = \.pm$ ; and for .pm files
20 skip = ignore ; that don't have "ignore" in the path
21
23 FileFinder::ByName is a FileFinder that selects files by matching the
24 criteria you specify against the pathname.
25
26 There are three types of criteria you can use. "dir" limits the search
27 to a particular directory. "match" is a regular expression that must
28 match the pathname. "skip" is a regular expression that must not match
29 the pathname.
30
31 Each key can be specified multiple times. Multiple occurrences of the
32 same key are ORed together. Different keys are ANDed together. That
33 means that to be selected, a file must be located in one of the "dir"s,
34 must match one of the "match" regexs, and must not match any of the
35 "skip" regexs.
36
37 Note that "file" and "match" are considered to be the same key.
38 They're just different ways to write a regex that the pathname must
39 match.
40
41 Omitting a particular key means that criterion will not apply to the
42 search. Omitting all keys will select every file in your dist.
43
44 Note: If you need to OR different types of criteria, then use more than
45 one instance of FileFinder::ByName. A FileFinderUser should allow you
46 to specify more than one FileFinder to use.
47
49 dir
50 The file must be located in one of the specified directories (relative
51 to the root directory of the dist).
52
53 file
54 The filename must match one of the specified patterns (which are
55 converted to regexs using Text::Glob and combined with any "match"
56 rules).
57
58 match
59 The pathname must match one of these regular expressions.
60
61 skip
62 The pathname must not match any of these regular expressions.
63
65 This plugin was originally contributed by Christopher J. Madsen.
66
68 Ricardo SIGNES 😏 <rjbs@cpan.org>
69
71 This software is copyright (c) 2020 by Ricardo SIGNES.
72
73 This is free software; you can redistribute it and/or modify it under
74 the same terms as the Perl 5 programming language system itself.
75
76
77
78perl v5.32.1 202D1i-s0t1:-:2Z7illa::Plugin::FileFinder::ByName(3)