Subject: | Tests fail in 0.56 / typo |
The test suite fails in 0.56 with:
make[1]: Entering directory `/tmp/buildd/libdevel-patchperl-perl-0.56'
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
Sequence (?^...) not recognized in regex; marked by <-- HERE in m/(?^
<-- HERE :5.1(?:[24].\d+|0.1))/ at lib/Devel/PatchPerl.pm line 136.
Compilation failed in require at -e line 1.
This looks like a typo in lib/Devel/PatchPerl.pm, line 136:
qr/(?^:5.1(?:[24].\d+|0.1))/,
Propsed fix:
diff --git a/lib/Devel/PatchPerl.pm b/lib/Devel/PatchPerl.pm
index b9afbbd..963719e 100644
--- a/lib/Devel/PatchPerl.pm
+++ b/lib/Devel/PatchPerl.pm
@@ -133,7 +133,7 @@ my @patch = (
},
{
perl => [
- qr/(?^:5.1(?:[24].\d+|0.1))/,
+ qr/(?:^5.1(?:[24].\d+|0.1))/,
],
subs => [
[ \&_patch_make_ext_pl ],
Cheers,
gregor, Debian Perl Group