DOKK / manpages / debian 12 / libnetsds-perl / NetSDS::Conf.3pm.en
NetSDS::Conf(3pm) User Contributed Perl Documentation NetSDS::Conf(3pm)

NetSDS::Conf - API to configuration files

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

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.

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.

Unknown

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

1. Improve documentation.

Michael Bochkaryov <misha@rattler.kiev.ua>

2021-12-26 perl v5.32.1