1Reply::Config(3)      User Contributed Perl Documentation     Reply::Config(3)
2
3
4

NAME

6       Reply::Config - config loading for Reply
7

VERSION

9       version 0.42
10

SYNOPSIS

12         use Reply;
13         use Reply::Config;
14
15         Reply->new(config => Reply::Config->new(file => 'something_else'))->run;
16

DESCRIPTION

18       This class abstracts out the config file loading, so that other
19       applications can start up Reply shells using similar logic. Reply
20       configuration is specified in an INI format - see Reply for more
21       details.
22

METHODS

24   new(%opts)
25       Creates a new config object. Valid options are:
26
27       file
28           Configuration file to use. If the file is specified by a relative
29           path, it will be relative to the user's home directory, otherwise
30           it will be used as-is.
31
32   file
33       Returns the absolute path to the config file that is to be used.
34
35   data
36       Returns the loaded configuration data.
37

AUTHOR

39       Jesse Luehrs <doy@tozt.net>
40
42       This software is Copyright (c) 2016 by Jesse Luehrs.
43
44       This is free software, licensed under:
45
46         The MIT (X11) License
47
48
49
50perl v5.38.0                      2023-07-21                  Reply::Config(3)
Impressum