DOKK / manpages / debian 11 / libreply-perl / Reply::Config.3pm.en
Reply::Config(3pm) User Contributed Perl Documentation Reply::Config(3pm)

Reply::Config - config loading for Reply

version 0.42

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

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.

Creates a new config object. Valid options are:

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.

Returns the absolute path to the config file that is to be used.

Returns the loaded configuration data.

Jesse Luehrs <doy@tozt.net>

This software is Copyright (c) 2016 by Jesse Luehrs.

This is free software, licensed under:

  The MIT (X11) License
2021-01-06 perl v5.32.0