GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CONFIG::MVP::READER::FINDER (3)

.ds Aq ’

NAME

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

CONTENTS

VERSION

version 2.200010

DESCRIPTION

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.

METHODS

    default_search_path

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 )



AUTHOR

Ricardo Signes <rjbs@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Ricardo Signes.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CONFIG::MVP::READER::FINDER (3) 2015-03-17

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.