logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

NetSDS::Conf - API to configuration files

Author

       Michael Bochkaryov <misha@rattler.kiev.ua>

perl v5.32.1                                       2021-12-26                                  NetSDS::Conf(3pm)

Bugs

       Unknown

Description

NetSDS::Conf module is a wrapper to Config::General handler for NetSDS configuration files.

       This package is for internal usage and is called from NetSDS::App or inherited modules and should be
       never used directly from applications.

       getconf() - read parameters from configuration file
           Paramters: configuration file name

           Returns: cofiguration as hash reference

           This method tries to read configuration file and fill object properties with read values.

           NOTE: Parameters set from command line will not be overriden.

Examples

Name

       NetSDS::Conf - API to configuration files

See Also

       Getopt::Long, Config::General, NetSDS::Class::Abstract

Synopsis

               use NetSDS::Conf;

               my $cf = NetSDS::Conf->getconf($conf_file);
               my $val = $cf->{'parameter'};

Todo

       1. Improve documentation.

See Also