aboutsummaryrefslogtreecommitdiff
path: root/lib/Apache/Inject
diff options
context:
space:
mode:
authorroot <root@rbsd.ankarstrom.se>2021-04-25 14:30:59 +0000
committerroot <root@rbsd.ankarstrom.se>2021-04-25 14:30:59 +0000
commit17b219d8c1c3116158f14b8005561be2de11e7c4 (patch)
tree513fbdded77f24e5c6b8969c70c442370200c822 /lib/Apache/Inject
parentf17c54a6e8c837c7de221e717830c1e9df9ce74f (diff)
downloadApache-Inject-17b219d8c1c3116158f14b8005561be2de11e7c4.tar.gz
Skip tests if run as root
Otherwise, I suspect App::Cpan will not be able to install the module without workarounds on the part of the user.
Diffstat (limited to 'lib/Apache/Inject')
-rw-r--r--lib/Apache/Inject/Handler.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Apache/Inject/Handler.pm b/lib/Apache/Inject/Handler.pm
index af93392..10d9d0c 100644
--- a/lib/Apache/Inject/Handler.pm
+++ b/lib/Apache/Inject/Handler.pm
@@ -3,6 +3,7 @@ package Apache::Inject::Handler;
use 5.010000;
use strict;
+use mod_perl2;
use Apache2::Const qw/OK DECLINED/;
use Apache2::Log ();
use Apache2::RequestRec ();