# New Ticket Created by  Itsuki Toyota 
# Please include the string:  [perl #130396]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=130396 >


See the following results:

$ perl6 -e 'my @a = 1,2; my $b = @a.item; say $b =:= @a;'

False

$ perl6 -e 'my @a = 1,2; my $b = @a.item; $b.shift; say @a;'
[2]

I think the 1st example should return True, because both $b and @a share the 
same container.

Perl 6 version is:
$ perl6 --version
This is Rakudo version 2016.12-14-g9120ace built on MoarVM version 2016.12
implementing Perl 6.c.

Reply via email to