develooper Front page | perl.perl5.porters | Postings from January 2020

Bug in format introduced in 5.27.6

Thread Next
From:
H.Merijn Brand
Date:
January 21, 2020 11:49
Subject:
Bug in format introduced in 5.27.6
Message ID:
20200121124916.26e1ae8a@pc09.procura.nl
perl -le '$~ = "L02"; { local $~ = "$~h"; print $~; }'


up to and including perl-5.27.5, this would print "L02h"
as of 5.27.6 this prints "h"

this breaks production code :(

-- 
H.Merijn Brand  http://tux.nl   Perl Monger  http://amsterdam.pm.org/
using perl5.00307 .. 5.31      porting perl5 on HP-UX, AIX, and Linux
https://useplaintext.email  https://tux.nl  http://www.test-smoke.org
http://qa.perl.org   http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Next


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