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;