NAME

Test::Collectd::Config - Reimplementation of "liboconfig" in collectd in perl.

VERSION

Version 0.1001

SYNOPSOS

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".

parse ( $config_in )

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