Test::Collectd::Config - Reimplementation of "liboconfig" in collectd in perl.
Version 0.1001
use Test::Collectd::Config; my $config = parse ( "/etc/collectd.conf" );
This module reimplements the config parser of collectd in perl. It's being used by Test::Collectd::Plugins. The only exported function is "parse".
Parses $config_in and returns the compiled configuration in the form of a nested structure identical to the one returned to the plugin's config callback. The
To install Test::Collectd::Plugins, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Collectd::Plugins
CPAN shell
perl -MCPAN -e shell install Test::Collectd::Plugins
For more information on module installation, please visit the detailed CPAN module installation guide.