On Wed, Jun 27, 2018 at 10:34:08PM +0200, Axel Beckert wrote:
 
> Perl 5.26:
> 
> → perl -E 'my $i = 0 ; while ($i < 10) { $ii[$i++] = "ii[$i] = $i" ; say 
> $ii[$i-1]; } '
> ii[0] = 0
> ii[1] = 1

[...]
 
> Perl 5.28:
> 
> → perl -E 'my $i = 0 ; while ($i < 10) { $ii[$i++] = "ii[$i] = $i" ; say 
> $ii[$i-1]; } '
> ii[1] = 1
> ii[2] = 2

> I've skimmed through perl5280delta, but haven't noticed anything which
> explains that difference.
> 
> Anyone can enlighten me if this is a perl bug or, if not, which change
> caused this difference?

Seems related to

 https://rt.perl.org/Public/Bug/Display.html?id=133301

so undefined behaviour that happened to change now?
-- 
Niko

Reply via email to