Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Created by @KES777
my @list = ( 1, 2, 3 );
# Test 1
values are destroed from hash when we leave the block
It is same for this:
my %hash = ();
But individual aliasing works fine:
See attached file for full test list
On Sat, 22 Sep 2018 09:56:45 GMT, firstname.lastname@example.org wrote:
Do we have a similar problem for array slice assignment with refaliasing within a block?
See attachment 133538-refalaising-array-slice.pl.
Thank you very much.
On Sat, Sep 22, 2018 at 02:56:46AM -0700, KES (via RT) wrote:
Now fixed in blead with the following commit:
Don't localise array / hash slice ref assignment
On Mon, 05 Nov 2018 12:39:29 GMT, davem wrote:
Works on my test files. Thanks.
Thank you for filing this report. You have helped make Perl better.
With the release today of Perl 5.30.0, this and 160 other issues have been
Perl 5.30.0 may be downloaded via:
If you find that the problem persists, feel free to reopen this ticket.