Skip Menu |

This queue is for tickets about the Class-C3 CPAN distribution.

Report information
The Basics
Id: 120530
Status: resolved
Priority: 0/
Queue: Class-C3

People
Owner: Nobody in particular
Requestors: RURBAN [...] cpan.org
Cc:
AdminCc:

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



Subject: [PATCH] Honor readonly @ISA
cperl-5.26 switched to readonly @ISA by default with base. as recommended in the initial documentation. Fixed one test to honor it. -- Reini Urban
Subject: Class-C3-0.32-cperl526.patch
diff -bu Class-C3-0.32-4/t/20_reinitialize.t~ Class-C3-0.32-4/t/20_reinitialize.t --- Class-C3-0.32-4/t/20_reinitialize.t~ 2014-01-17 03:29:00.000000000 +0100 +++ Class-C3-0.32-4/t/20_reinitialize.t 2017-03-03 09:33:56.000000000 +0100 @@ -66,6 +66,7 @@ { no strict 'refs'; + Internals::SvREADONLY(@{"Diamond_B::ISA"}, 0) if "$^V" =~ /c$/; unshift @{"Diamond_B::ISA"} => 'Diamond_E'; }
I don't like using Internals like that, or having a special case for cperl. Instead, I'm going to drop the use of base.pm in the tests, so @ISA won't be made read only in the first place.
This was fixed in 0.33