Apache-Reload
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
use strict;
use lib qw(lib);
use Config;
use Symbol qw(gensym);
my %prereqs = ();
my %mp2 = ( mod_perl2 => 1.99022 );
my %mp1 = ( mod_perl => 0 );
my $at_min_ver = 1.34;
my $mp_gen;
# MOD_PERL_2_BUILD is set from building from mod_perl Makefile.PL which should
lib/Apache2/Reload.pm view on Meta::CPAN
Meaning it operated on the the current context of @INC. If you still want this
behavior set this environment variable in I<httpd.conf>:
PerlSetVar ReloadByModuleName On
This means, when called as a C<Perl*Handler>, C<Apache2::Reload> will not see
C<@INC> paths added or removed by C<ModPerl::Registry> scripts, as the value of
C<@INC> is saved on server startup and restored to that value after each
request. In other words, if you want C<Apache2::Reload> to work with modules
that live in custom C<@INC> paths, you should modify C<@INC> when the server is
started. Besides, C<'use lib'> in the startup script, you can also set the
C<PERL5LIB> variable in the httpd's environment to include any non-standard
'lib' directories that you choose. For example, to accomplish that you can
include a line:
PERL5LIB=/home/httpd/perl/extra; export PERL5LIB
in the script that starts Apache. Alternatively, you can set this
environment variable in I<httpd.conf>:
PerlSetEnv PERL5LIB /home/httpd/perl/extra
( run in 0.473 second using v1.01-cache-2.11-cpan-87723dcf8b7 )