Fabien Wernli > Test-Collectd-Plugins-0.1005 > Test::Collectd::Config

Download:
Test-Collectd-Plugins-0.1005.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.1001   Source   Latest Release: Test-Collectd-Plugins-0.1006

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

syntax highlighting: