SIMPLE SOLUTIONS

REPLY::CONFIG(3PM) - Linux man page online | Library functions

Config loading for Reply.

Chapter
2016-08-28
Reply::Config(3pm) User Contributed Perl Documentation Reply::Config(3pm)

NAME

Reply::Config - config loading for Reply

VERSION

version 0.42

SYNOPSIS

use Reply; use Reply::Config; Reply->new(config => Reply::Config->new(file => 'something_else'))->run;

DESCRIPTION

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.

AUTHOR

Jesse Luehrs <@tozt.net>
This software is Copyright (c) 2016 by Jesse Luehrs. This is free software, licensed under: The MIT (X11) License
perl v5.24.1 2016-08-28 Reply::Config(3pm)
Download raw manual
Main page User Contributed Perl Documentation (+23303) perl v5.24.1 (+3427) № 3 (+68044)
Go top