develooper Front page | perl.perl5.porters | Postings from November 2015

[perl #126731] Commandline option -C breaks numeric arguments in5.22.0

Thread Previous
From:
Tony Cook via RT
Date:
November 25, 2015 22:40
Subject:
[perl #126731] Commandline option -C breaks numeric arguments in5.22.0
Message ID:
rt-4.0.18-8133-1448491239-1486.126731-15-0@perl.org
On Wed Nov 25 09:23:09 2015, jvoeckler@sdl.com wrote:
> I frequently use perl to investigate Unicode code points from the
> astral
> planes. In order to avoid warnings, I am using the -C runtime option.
> In
> version 5.22.0 the numerical arguments are no longer accepted, but the
> symbolic arguments still work:
> 
> $ /opt/perl-5.22.0/bin/perl -C7 -le 'print chr(0x1F340)'
> Wide character in print at -e line 1.
> ...
> 
> $ /opt/perl-5.22.0/bin/perl -CS -le 'print chr(0x1F340)'
> ...
> 
> Please restore the numerical arguments to the -C option. It works fine
> in version 5.20.2:
> 
> $ /opt/perl-5.20.2/bin/perl -C7 -le 'print chr(0x1F340)'
> ...

This is a duplicate of 125381, which was fixed in blead in 89d84ff965b644c21c4c0633253e4cb21f72b62c and is was backported to 80a44ccd0e06e0bdb488a39d1ff986b50fbd1b84 in maint-5.22, so it will be fixed in 5.22.1.

Thanks for the report.

Tony

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=126731

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About