unicode: avoid undetected use of lexical_topic
authorMischa POSLAWSKY <perl@shiar.org>
Tue, 12 Dec 2017 16:48:01 +0000 (17:48 +0100)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 5 Mar 2018 22:51:17 +0000 (23:51 +0100)
Feature is buggy since its "removal" in perl v5.24, which is apparently
ignored when combined with "use utf8" for some reason (Perl bug).

unicode.plp

index a3273e311a888362c977e3a2f3fa91222755c455..7949edcdfd7763214b90e7d27631f88249cd67aa 100644 (file)
@@ -131,7 +131,7 @@ $_ and m{/*+(.+)} and @config = split /[ ]/, $1 for $Request, $get{q};
 my $tables = do 'unicode-table.inc.pl' or die $@ || $!;
 
 $glyphs->print(map {
-       my $_ = /(.*)\?(.*)/ ? ($verbose ? $2 : $1) : $_;
+       $_ = /(.*)\?(.*)/ ? ($verbose ? $2 : $1) : $_;
        if (!$_) {
                ();
        }