Reply::Config3pm
Config loading for reply
Usage
use Reply;use Reply::Config;Reply->new(config => Reply::Config->new(file => 'something_else'))->run;
Version
version 0.42
Overview
This class abstracts out the config file loading, so that other applications can start up Reply shells using similar logic. Reply configuration is specified in an INI format - see Reply for more details.
Methods
new(%opts)
Creates a new config object. Valid options are:
- file
-
Configuration file to use. If the file is specified by a relative path, it will be relative to the user's home directory, otherwise it will be used as-is.
file
Returns the absolute path to the config file that is to be used.
data
Returns the loaded configuration data.
Copyright and license
This software is Copyright (c) 2016 by Jesse Luehrs.
This is free software, licensed under:
The MIT (X11) License
Releases
6 releases since Debian 8 (Jessie); the text changed 3 times.