Package: libmodule-reader-perl / 0.003003-4
Metadata
| Package | Version | Patches format |
|---|---|---|
| libmodule-reader-perl | 0.003003-4 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| 0001 Adjust require exception to perl 5.37.8 wording.patch | (download) |
lib/Module/Reader.pm |
24 21 + 3 - 0 ! |
[patch] adjust require exception to perl 5.37.8 wording
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
With perl 5.38.0 t/memmory test fails on Regexp objects:
not ok 9 - regex fails the same as require
# Failed test 'regex fails the same as require'
# at t/memory.t line 99.
# got: 'Can't locate object method "INC" via package "Regexp"'
# expected: 'Can't locate object method "INC", nor "INCDIR" nor string overload via package "Regexp" in object hook in @INC'
not ok 10 - class without INC fails the same as require
# Failed test 'class without INC fails the same as require'
# at t/memory.t line 99.
# got: 'Can't locate object method "INC" via package "NonHook"'
# expected: 'Can't locate object method "INC", nor "INCDIR" nor string overload via package "NonHook" in object hook in @INC'
This is probably caused by this perl commit which also changed the exception
text:
commit 0d370d41c6e8fe1e36eb93a5561e6716ee3a7e3e
|
1
