This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
A quick new release of Pod-Simple has removed the dependency on
[perl5.git] / lib / utf8_heavy.pl
index b6b6b6e..ecdd95e 100644 (file)
@@ -137,10 +137,12 @@ sub SWASHNEW {
             print STDERR "canonical = $canonical\n" if DEBUG;
 
             require "unicore/Canonical.pl";
+           { no warnings "uninitialized";
             if (my $base = ($utf8::Canonical{$canonical} || $utf8::Canonical{ lc $utf8::PropertyAlias{$canonical} })) {
                 $file = "unicore/lib/gc_sc/$base.pl";
                 last GETFILE;
             }
+            }
 
            ##
            ## See if it's a user-level "To".