Skip Menu |

This queue is for tickets about the Apache-Reload CPAN distribution.

Report information
The Basics
Id: 20551
Status: resolved
Priority: 0/
Queue: Apache-Reload

People
Owner: Nobody in particular
Requestors: ann [...] blinck.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Apache2::Reload and mod_perl2 $INC{'mod_perl.pm'} disagreement
Date: Wed, 19 Jul 2006 11:34:46 +0200
To: <bug-Apache-Reload [...] rt.cpan.org>
From: Ann Barcomb <ann [...] blinck.com>
I'm not sure whether this should be considered a mod_perl2 issue or an Apache2::Reload issue. We were seeing intermittent "Can't locate mod_perl.pm in @INC..." complaints. The cause seemed to be Apache::Reload's attempt to reload all packages, which ran in to problems because mod_perl2 adds the key 'mod_perl.pm' to %INC. This was observed with Perl 5.8.8, Apache 2.2.0, mod_perl 2.0.2 and Apache2::Reload 0.09.
It looks like this was an Apache-Test issue which was resolved with Apache::Test 1.28 several years ago. remove the mod_perl.pm entry from %INC after Apache::Test finishes initializing itself. because both mp1 and mp2 share the entry, leaving it around means that Apache::Test might prevent later modules from loading the real mod_perl module they're interested in, leading to bad things [Geoffrey Young]