AUTHOR => 'Marius Gavrilescu <marius@ieval.ro>',
MIN_PERL_VERSION => '5.14.0',
LICENSE => 'perl',
+ SIGN => 1,
PREREQ_PM => {
- Apache2::Access => 0,
- Apache2::Const => 0,
- Apache2::RequestRec => 0,
- YAML::Any => 0,
+ qw/YAML::Any 0/,
},
+ META_MERGE => {
+ dynamic_config => 0,
+ recommends => {
+ qw/Apache2::Access 0
+ Apache2::Const 0
+ Apache2::RequestRec 0/,
+ }
+ }
);
use 5.014000;
use strict;
use warnings;
+use subs qw/OK DECLINED/;
+no if $] >= 5.017011, warnings => 'experimental::smartmatch';
-use Apache2::Access;
-use Apache2::Const qw/OK DECLINED/;
-use Apache2::RequestRec;
+use if $ENV{MOD_PERL}, 'Apache2::Access';
+use if $ENV{MOD_PERL}, 'Apache2::Const' => qw/OK DECLINED/;
+use if $ENV{MOD_PERL}, 'Apache2::RequestRec';
use YAML::Any qw/LoadFile DumpFile/;
use parent qw/Exporter/;