perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip M. Gollucci" <>
Subject Re: [PATCH] lib/
Date Fri, 22 Apr 2005 02:02:25 GMT
Geoffrey Young wrote:
>>May I suggest that this exact comment above that line in
>>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: 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/
--- lib/Apache2/       (revision 164006)
+++ lib/Apache2/       (working copy)
@@ -229,6 +229,7 @@
          next if $file =~ m:^/:;
          next unless $file =~ m:\.pm:;
          next unless $INC{$file}; #e.g. fake Apache2/
+        next if $file eq '';

          no strict 'refs';
          (my $module = $file) =~ s,/,::,g;

Philip M. Gollucci ( 301.254.5198
Consultant /
Senior Developer / Liquidity Services, Inc.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message