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.200013
11
13 This module should work on any version of perl still receiving updates
14 from the Perl 5 Porters. This means it should work on any version of
15 perl released in the last two to three years. (That is, if the most
16 recently released version is v5.40, then this module should work on
17 both v5.40 and v5.38.)
18
19 Although it may work on older versions of perl, no guarantee is made
20 that the minimum required version will not be increased. The version
21 may be increased for any reason, and there is no promise that patches
22 will be accepted to lower the minimum required perl.
23
25 default_extension
26 This method, which must be composed by classes including this role,
27 returns the default extension used by files in the format this reader
28 can read.
29
30 When the Finder tries to find configuration, it have a directory root
31 and a basename. Each (Findable) reader that it tries in turn will look
32 for a file basename.extension in the root directory. If exactly one
33 file is found, that file is read.
34
35 refined_location
36 This role provides a default implementation of the "refined_location"
37 method required by Config::MVP::Reader. It will return a filename
38 based on the original location, if a file exists matching that location
39 plus the reader's "default_extension".
40
42 Ricardo Signes <cpan@semiotic.systems>
43
45 This software is copyright (c) 2022 by Ricardo Signes.
46
47 This is free software; you can redistribute it and/or modify it under
48 the same terms as the Perl 5 programming language system itself.
49
50
51
52perl v5.36.0 C2o0n2f3i-g0:1:-M2V0P::Reader::Findable::ByExtension(3)