summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping/Config.pm
blob: 6c92e191f548d1053a3f24bbaae7843e403b7de6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# provide backward compatibility for Config::Grammar
package Smokeping::Config;

BEGIN {
    require Config::Grammar;
    if($Config::Grammar::VERSION ge '1.10') {
        require Config::Grammar::Dynamic;
        @ISA = qw(Config::Grammar::Dynamic);
    }
    else {
        @ISA = qw(Config::Grammar);
    }
}

1;