briandfoy/unicode-tussle

uniquote warns about given/when being experimental with Perl 5.28.1

Closed this issue · 2 comments

I've just installed the current version from CPAN to use uniquote. Unfortunately it warns for given/when being experimental what spills all over the output.

$ echo Übergrößengeschäft | uniquote
given is experimental at /home/daniel/perl5/perlbrew/perls/perl-5.28.1-threads-stretch/bin/uniquote line 147.
when is experimental at /home/daniel/perl5/perlbrew/perls/perl-5.28.1-threads-stretch/bin/uniquote line 148.
when is experimental at /home/daniel/perl5/perlbrew/perls/perl-5.28.1-threads-stretch/bin/uniquote line 149.
when is experimental at /home/daniel/perl5/perlbrew/perls/perl-5.28.1-threads-stretch/bin/uniquote line 150.
when is experimental at /home/daniel/perl5/perlbrew/perls/perl-5.28.1-threads-stretch/bin/uniquote line 151.
when is experimental at /home/daniel/perl5/perlbrew/perls/perl-5.28.1-threads-stretch/bin/uniquote line 152.
when is experimental at /home/daniel/perl5/perlbrew/perls/perl-5.28.1-threads-stretch/bin/uniquote line 153.
when is experimental at /home/daniel/perl5/perlbrew/perls/perl-5.28.1-threads-stretch/bin/uniquote line 154.
given is experimental at /home/daniel/perl5/perlbrew/perls/perl-5.28.1-threads-stretch/bin/uniquote line 2865.
when is experimental at /home/daniel/perl5/perlbrew/perls/perl-5.28.1-threads-stretch/bin/uniquote line 2866.
when is experimental at /home/daniel/perl5/perlbrew/perls/perl-5.28.1-threads-stretch/bin/uniquote line 2867.
when is experimental at /home/daniel/perl5/perlbrew/perls/perl-5.28.1-threads-stretch/bin/uniquote line 2868.
\N{U+DC}bergr\N{U+F6}\N{U+DF}engesch\N{U+E4}ft
  • Could this be solved upstream somehow?
  • How to call uniquote while telling Perl not to warn about this? Meanwhile I could use a shell alias to make it call the program this way …

I fixed this in fb8542a.

Basically, just turn off warnings for smartmatch. This is a short term solution.

I've further fixed this by simply getting rid of smartmatch.