-
-
10 Jan 2021 00:52:16 UTC
- Distribution: Config-MVP
- Module version: 2.200012
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (7)
- Testers (2723 / 0 / 0)
- Kwalitee
Bus factor: 1- 85.90% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (33.43KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
++ed by:1 non-PAUSE userand 6 contributors-
Alexandr Ciornii
-
George Hartzell
-
Karen Etheridge
-
Kent Fredric
-
Philippe Bruhat (BooK)
-
Sven Kirmess
- Dependencies
- Class::Load
- Cwd
- File::Spec
- Module::Pluggable::Object
- Moose
- Moose::Role
- Moose::Util::TypeConstraints
- MooseX::OneArgNew
- Params::Util
- Role::HasMessage
- Role::Identifiable::HasIdent
- StackTrace::Auto
- Test::More
- Throwable
- Tie::IxHash
- Try::Tiny
- overload
- strict
- warnings
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Config::MVP::Reader::Findable::ByExtension - a Findable Reader that looks for files by extension
VERSION
version 2.200012
METHODS
default_extension
This method, which must be composed by classes including this role, returns the default extension used by files in the format this reader can read.
When the Finder tries to find configuration, it have a directory root and a basename. Each (Findable) reader that it tries in turn will look for a file basename.extension in the root directory. If exactly one file is found, that file is read.
refined_location
This role provides a default implementation of the
refined_location
method required by Config::MVP::Reader. It will return a filename based on the original location, if a file exists matching that location plus the reader'sdefault_extension
.AUTHOR
Ricardo Signes <rjbs@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2021 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.
Module Install Instructions
To install Config::MVP, copy and paste the appropriate command in to your terminal.
cpanm Config::MVP
perl -MCPAN -e shell install Config::MVP
For more information on module installation, please visit the detailed CPAN module installation guide.