# New Ticket Created by shreya...@yahoo.com
# Please include the string: [perl #131245]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org/Ticket/Display.html?id=131245 >
# create an array of 5 elements, remove 2, add a fifth one leaving 4th empty
$ p
On Tue, 02 May 2017 10:42:33 -0700, shreya...@yahoo.com wrote:
>
> # create an array of 5 elements, remove 2, add a fifth one leaving 4th
> empty
>
> $ perl -e 'my @a=(1,2,3,4,5); pop(@a); pop(@a); $a[4]="hi"; print
> join(",", @a)."\n";'
>
> 1,2,3,,hi
>
>
>
> $ perl6 -e 'my @a=(1,2,3,4,5); @
On Tue, 02 May 2017 10:42:33 -0700, shreya...@yahoo.com wrote:
>
> # create an array of 5 elements, remove 2, add a fifth one leaving 4th
> empty
>
> $ perl -e 'my @a=(1,2,3,4,5); pop(@a); pop(@a); $a[4]="hi"; print
> join(",", @a)."\n";'
>
> 1,2,3,,hi
>
>
>
> $ perl6 -e 'my @a=(1,2,3,4,5); @
This is probably my favorite bug of the year :)
Thank you very much for your report.
There was a discussion about it today:
https://irclog.perlgeek.de/perl6-dev/2017-05-03#i_14521988
On 2017-05-02 10:42:33, shreya...@yahoo.com wrote:
>
> # create an array of 5 elements, remove 2, add a fifth one