1Config::MVP::Reader::FiUnsdeerr(C3o)ntributed Perl DocumCeonntfaitgi:o:nMVP::Reader::Finder(3)
2
3
4

NAME

6       Config::MVP::Reader::Finder - a reader that finds an appropriate file
7

VERSION

9       version 2.200013
10

DESCRIPTION

12       The Finder reader multiplexes many other readers that implement the
13       Config::MVP::Reader::Findable role.  It uses Module::Pluggable to
14       search for modules, limits them to objects implementing the Findable
15       role, and then selects the those which report that they are able to
16       read a configuration file found in the config root directory.  If
17       exactly one findable configuration reader finds a file, it is used to
18       read the file and the configuration sequence is returned.  Otherwise,
19       an exception is raised.
20
21       Config::MVP::Reader::Finder's "build_assembler" method will decline a
22       new assembler, so if none was passed to "read_config", the Findable
23       reader to which reading is delegated will be responsible for building
24       the assembler, unless a Finder subclass overrides "build_assembler" to
25       set a default across all possible delegates.
26

PERL VERSION

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

METHODS

40   default_search_path
41       This is the default search path used to find configuration readers.
42       This method should return a list, and by default returns:
43
44         qw( Config::MVP::Reader )
45

AUTHOR

47       Ricardo Signes <cpan@semiotic.systems>
48
50       This software is copyright (c) 2022 by Ricardo Signes.
51
52       This is free software; you can redistribute it and/or modify it under
53       the same terms as the Perl 5 programming language system itself.
54
55
56
57perl v5.38.0                      2023-07-20    Config::MVP::Reader::Finder(3)
Impressum