# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #76510]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=76510 >


<lue> rakudo: my $a = 3; my $b := $a; my $c = 3; say $a =:= $b; say $a =:= $c
<p6eval> rakudo c8b6cf: OUTPUT«0␤0␤»
<lue> O.o
<masak> lue: same value, different containers.
<masak> lue: $a and $b should be the same, though
<lue> that's where the O.o comes in. Apparently, =:= is in cheats/
<masak> lue: you can fix it; I know you can!
* masak submits rakudobug

S03: 'There is also an identity test, C<=:=>, which tests whether two
names are bound to the same underlying variable.  C<$x =:= $y> would
return true in the above example.'

And the 'above example' is very similar to the line in the bug report:

    my $x = 'Just Another';
    my $y := $x;
    $y = 'Perl Hacker';

Reply via email to