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

Re: Bug in format introduced in 5.27.6

Thread Previous | Thread Next
From:
Sergey Aleynikov
Date:
January 21, 2020 13:22
Subject:
Re: Bug in format introduced in 5.27.6
Message ID:
CAKNj8S0x+S6oFK-8epWV8mM+e1763DpkT5yR2vHtHJPqRRgpvg@mail.gmail.com
Bisect points to:

commit e839e6ed99c6b25aee589f56bb58de2f8fa00f41
Author: David Mitchell <davem@iabyn.com>
Date:   Tue Aug 8 18:42:14 2017 +0100

    Add OP_MULTICONCAT op

    Allow multiple OP_CONCAT, OP_CONST ops, plus optionally an OP_SASSIGN
    or OP_STRINGIFY, to be combined into a single OP_MULTICONCAT op, which can
    make things a *lot* faster: 4x or more.

Best regards,
Sergey Aleynikov

вт, 21 янв. 2020 г. в 14:49, H.Merijn Brand <h.m.brand@xs4all.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 Previous | 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