1Config::MVP::Reader::FiUnsdearblCeo:n:tBryiEbCxuottneefndisgiP:oe:nrM(lV3P)D:o:cRuemaednetra:t:iFoinndable::ByExtension(3)
2
3
4
6 Config::MVP::Reader::Findable::ByExtension - a Findable Reader that
7 looks for files by extension
8
10 version 2.200012
11
13 default_extension
14 This method, which must be composed by classes including this role,
15 returns the default extension used by files in the format this reader
16 can read.
17
18 When the Finder tries to find configuration, it have a directory root
19 and a basename. Each (Findable) reader that it tries in turn will look
20 for a file basename.extension in the root directory. If exactly one
21 file is found, that file is read.
22
23 refined_location
24 This role provides a default implementation of the "refined_location"
25 method required by Config::MVP::Reader. It will return a filename
26 based on the original location, if a file exists matching that location
27 plus the reader's "default_extension".
28
30 Ricardo Signes <rjbs@cpan.org>
31
33 This software is copyright (c) 2021 by Ricardo Signes.
34
35 This is free software; you can redistribute it and/or modify it under
36 the same terms as the Perl 5 programming language system itself.
37
38
39
40perl v5.34.0 C2o0n2f2i-g0:1:-M2V1P::Reader::Findable::ByExtension(3)