aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Apache/Inject.pm10
-rw-r--r--lib/Apache/Inject/Handler.pm1
2 files changed, 9 insertions, 2 deletions
diff --git a/lib/Apache/Inject.pm b/lib/Apache/Inject.pm
index 8de0249..a8bd520 100644
--- a/lib/Apache/Inject.pm
+++ b/lib/Apache/Inject.pm
@@ -5,6 +5,7 @@ use strict;
our $VERSION = '0.01';
+use mod_perl2;
use Apache2::CmdParms ();
use Apache2::Const qw/OR_LIMIT OR_AUTHCFG TAKE12/;
use Apache2::Log ();
@@ -119,8 +120,13 @@ To install this module type the following:
make test
make install
-Note that the Apache::* and Apache2::* dependencies are included
-with mod_perl2.
+Note that all steps in this process require mod_perl2 to be installed.
+I recommend installing mod_perl2 before trying to install Apache::Inject.
+
+Note further that, because they depend on Apache, the tests require
+an unprivileged user and will be skipped if they are run as root.
+This is relevant if you install Apache::Inject via App::Cpan, which
+normally runs as root.
=head1 OPERATION
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 ();