]> iEval git - apache2-authzcaps.git/blobdiff - lib/Apache2/AuthzCaps.pm
Bump version and update Changes
[apache2-authzcaps.git] / lib / Apache2 / AuthzCaps.pm
index ac16d17d0cf2b4bbdb3b1c9e0f91ef497f83b129..426b6081278e5597c4b3ef0aa4edfca03a17d31a 100644 (file)
@@ -1,12 +1,15 @@
-package Apache2::AuthzCaps 0.001;
+package Apache2::AuthzCaps;
 
 use 5.014000;
 use strict;
 use warnings;
+use subs qw/OK DECLINED/;
+no if $] >= 5.017011, warnings => 'experimental::smartmatch';
+our $VERSION = '0.001001';
 
-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/;
This page took 0.021227 seconds and 4 git commands to generate.