Config::General 2.41 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News Config::General 2.41 (Default branch)
# 1  
Old 12-17-2008
Config::General 2.41 (Default branch)

With Config::General you can read and write config files and access the parsed contents from a hash structure. The format of config files supported by Config::General is inspired by the Apache config format (and is 100% compatible with Apache configs). It also supports some enhancements such as here-documents, C-style comments, and multiline options. Image

Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
Munin::Node::Config(3pm)				User Contributed Perl Documentation				  Munin::Node::Config(3pm)

NAME
Munin::Node::Config - Singleton node configuration container. Reads configuration files. SYNOPSIS
$config = Munin::Node::Config->instance(); $config->parse_config_from_file('/etc/munin/munin-node.conf'); print $config->{fqdn}, " "; METHODS
instance $config = Munin::Node::Config->instance(); Returns the singleton instance of this class. reinitialize $config->reinitialize(); Deletes all configuration variables $config->reinitialize(\%variables); Deletes all configuration variables and reinitalizes the object with values from \%variables. parse_config_from_file $config->parse_config_from_file($filename); Parses the munin node configuration from a file. Dies if the file fails the paranoia checks. parse_config $config->parse_config($io_handle); Parses the munin node configuration from a filehandle. process_plugin_configuration_files $config->process_plugin_configuration_files(); Parses all unignored files in the plugin configuration folder. parse_plugin_config_file $config->parse_plugin_config_file($file); Parses the plugin configuration in $file. parse_plugin_config $config->parse_plugin_config($io_handle); Parses the plugin configuration from an IO::Handle. apply_wildcards $config->apply_wildcards(); Applies the contents of any wildcard plugin configuration sections to matching plugins. See http://munin-monitoring.org/wiki/Priority_and_inheritance <http://munin-monitoring.org/wiki/Priority_and_inheritance> perl v5.14.2 2013-11-12 Munin::Node::Config(3pm)