Skip Menu |

This queue is for tickets about the MRO-Compat CPAN distribution.

Report information
The Basics
Id: 28661
Status: resolved
Priority: 0/
Queue: MRO-Compat

People
Owner: blblack [...] gmail.com
Requestors: iceshaman [...] gmail.com
Cc:
AdminCc:

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



Subject: Breakage when using Apache2::Reload
$INC{'mro.pm'} = 'Faked by MRO::Compat'; This line causes problems with Apache2::Reload, which will attempt to find and load the value, which clearly it cannot.
From: iceshaman [...] gmail.com
On Fri Aug 03 21:26:40 2007, IceShaman wrote: Show quoted text
> $INC{'mro.pm'} = 'Faked by MRO::Compat'; > > This line causes problems with Apache2::Reload, which will attempt to > find and load the value, which clearly it cannot.
Just like to point out this can be fixed via setting Apache2::Reload options, I just thought it would be nice for the value to be set to something a little less destructive by default...
On Fri Aug 03 21:26:40 2007, IceShaman wrote: Show quoted text
> $INC{'mro.pm'} = 'Faked by MRO::Compat'; > > This line causes problems with Apache2::Reload, which will attempt to > find and load the value, which clearly it cannot.
Does this fix it for you (patch attached)? I guess it's not any less correct a value than the previous junk.
=== lib/MRO/Compat.pm ================================================================== --- lib/MRO/Compat.pm (revision 52285) +++ lib/MRO/Compat.pm (local) @@ -14,7 +14,7 @@ if($] < 5.009_005) { $mro::VERSION # to fool Module::Install when generating META.yml = $VERSION; - $INC{'mro.pm'} = 'Faked by MRO::Compat'; + $INC{'mro.pm'} = __FILE__; *mro::import = \&__import; *mro::get_linear_isa = \&__get_linear_isa; *mro::set_mro = \&__set_mro;
Fixed in 0.05, assuming the fix posted earlier in this bug works for you :)