From 700759a76d39dc1cfd729414508f542fd37f66ed Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Mon, 9 Jul 2007 19:31:54 +0000 Subject: added override section --- lib/Smokeping.pm | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'lib/Smokeping.pm') diff --git a/lib/Smokeping.pm b/lib/Smokeping.pm index 7c65a17..7361c20 100644 --- a/lib/Smokeping.pm +++ b/lib/Smokeping.pm @@ -13,12 +13,14 @@ use Config::Grammar; use RRDs; use Sys::Syslog qw(:DEFAULT setlogsock); use Smokeping::Colorspace; +use Smokeping::MasterSlave; setlogsock('unix') if grep /^ $^O $/xo, ("linux", "openbsd", "freebsd", "netbsd"); # make sure we do not end up with , in odd places where one would expect a '.' # we set the environment variable so that our 'kids' get the benefit too + $ENV{LC_NUMERIC}='C'; if (POSIX::setlocale(&POSIX::LC_NUMERIC,"") ne "C") { die("Resetting LC_NUMERIC failed - try removing LC_ALL from the environment"); @@ -2797,6 +2799,7 @@ END_DOC _vars => [ qw(url timeout) ], _mandatory => [ qw(url) ], _inherited => [ qw(timeout) ], + _sections => [ qw(override) ], _doc => < < { + _doc => < [ '/\S+/' ], } }, Targets => {_doc => <