As observed in
TWiki:Support.SID-02327, TWiki 6.0.2 doesn't work with Perl 5.26, which is shipped with Fedora 27.
I could reproduce this - not with Fedora, I'm not familiar with that distribution - but by compiling Perl 5.26 into a Debian system. I had hoped that this would only affect
configure
(where all warnings are promoted to errors) but unfortunately this is not the case:
Perl 5.26.1
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/(\$TWiki::cfg{ <-- HERE [A-Za-z0-9{}]+})/ at /opt/twiki/lib/TWiki/Configure/Load.pm line 111.
Compilation failed in require at /opt/twiki/lib/TWiki.pm line 179.
BEGIN failed--compilation aborted at /opt/twiki/lib/TWiki.pm line 577.
Compilation failed in require at /opt/twiki/bin/view line 41.
BEGIN failed--compilation aborted at /opt/twiki/bin/view line 41.
So indeed, Perl's behaviour in 5.26 is again different from 5.24 where the same line just gave a warning:
Perl 5.24.1
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(\$TWiki::cfg{ <-- HERE [A-Za-z0-9{}]+})/ at /opt/twiki/lib/TWiki/Configure/Load.pm line 111.
Now that there's a distribution out in the wild which ships with Perl 5.26, I flag this as
urgent. Yet, there's no action required (other than releasing the upcoming version from SVN trunk) since the code has already been fixed for
Item7797. I flag it as "Waiting for Release" to make sure it appears in the releas note.
--
TWiki:Main/HaraldJoerg - 2018-02-02