NetSDS::Conf(3pm)

NetSDS::Conf3pm

Api to configuration files

Usage

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

Overview

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

Todo

1. Improve documentation.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 3 times.

  1. 6.0–8
  2. 9–10
  3. 11
  4. 12–13

Bugs

Unknown

Author

Michael Bochkaryov <[email protected]>

From libnetsds-perl 1.301-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.