-
-
20 Mar 2022 00:37:11 UTC
- Distribution: exact-conf
- Module version: 1.07
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (245 / 0 / 0)
- Kwalitee
Bus factor: 1- 81.40% Coverage
- License: artistic_2
- Perl: v5.14.0
- Activity
24 month- Tools
- Download (8.81KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
exact::conf - Cascading merged application configuration extension for exact
VERSION
version 1.07
SYNOPSIS
use exact -conf;
DESCRIPTION
exact::conf is a cascading merged application configuration extension for exact. It effectively is an integration of Config::App with exact. Consult the Config::App documentation for additional information. See the exact documentation for additional information about extensions. The intended use of exact::conf is via the extension interface of exact.
use exact -conf, -cli, -noutf8;
However, you can also use it directly, which will also use exact with default options:
use exact::conf;
IMPORTED FUNCTION
There is only 1 imported function:
conf
This...
use exact -conf; say conf->get('answer');
...is equivalent to this...
use Config::App; say Config::App->new->get('answer');
If you'd like to load Config::App but skip its default import process that looks for default-location-located configuration files and errors if it can't find such, pass some false value. For example, if you want to specify a non-default-located configuration file at runtime, do this:
use exact 'conf(0)'; say conf('settings/conf.yaml')->get('answer');
SEE ALSO
You can look for additional information at:
AUTHOR
Gryphon Shafer <gryphon@cpan.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2019-2050 by Gryphon Shafer.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
Module Install Instructions
To install exact::conf, copy and paste the appropriate command in to your terminal.
cpanm exact::conf
perl -MCPAN -e shell install exact::conf
For more information on module installation, please visit the detailed CPAN module installation guide.