OS Manuals

Config::MVP::Reader::Finder(3pm)

Config::MVP::Reader::Finder(3) User Contributed Perl Documentation Config::MVP::Reader::Finder(3)

The Finder reader multiplexes many other readers that implement the Config::MVP::Reader::Findable role. It uses Module::Pluggable to search for modules, limits them to objects implementing the Findable role, and then selects the those which report that they are able to read a configuration file found in the config root directory. If exactly one findable configuration reader finds a file, it is used to read the file and the configuration sequence is returned. Otherwise, an exception is raised.

Config::MVP::Reader::Finder's "build_assembler" method will decline a new assembler, so if none was passed to "read_config", the Findable reader to which reading is delegated will be responsible for building the assembler, unless a Finder subclass overrides "build_assembler" to set a default across all possible delegates.

This is the default search path used to find configuration readers. This method should return a list, and by default returns:

  qw( Config::MVP::Reader )

Hey! The above document had some coding errors, which are explained below:

Unknown directive: =method
2026-09-10 perl v5.44.0

perl-config-mvp 2.200015-r0 · os · ingested 2026-09-30