Reply::Config(3pm)

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.

Releases

6 releases since Debian 8 (Jessie); the text changed 3 times.

  1. 8
  2. 9–10
  3. 11
  4. 12–13

Author

Jesse Luehrs <[email protected]>

From libreply-perl 0.42-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.