May I suggest that this exact comment above that line in mod_perl2.pm prevent the confusion and attempt to fix things?
done. feel free to improve it if it's inadequate.
--Geoff
Okay, I agree with all that. How about also, we add to Apache2::Status the below patch.
If you happen to have mp1 and mp2(rc5+) installed in the same perl tree you get a row on the 'Loaded Modules' screen:
mod_perl.pm with version 1.999023
which is confusing. This simply supresses that line since this file isn't actually loaded; just preventing mp1 from actually being loaded.
Index: lib/Apache2/Status.pm
===================================================================
--- lib/Apache2/Status.pm (revision 164006)
+++ lib/Apache2/Status.pm (working copy)
@@ -229,6 +229,7 @@
next if $file =~ m:^/:;
next unless $file =~ m:\.pm:;
next unless $INC{$file}; #e.g. fake Apache2/TieHandle.pm
+ next if $file eq 'mod_perl.pm'; no strict 'refs';
(my $module = $file) =~ s,/,::,g;
END ------------------------------------------------------ Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Developer / Liquidity Services, Inc. http://www.liquidityservicesinc.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
