Larry Wall skribis 2005-04-01  7:47 (-0800):
> :     $$x =:= $$y
> Unnecessary, I think.  I want
>     $x =:= @y
> to tell me whether the reference in $x is to the same array as @y.

But

    my $foo;
    my $bar := $foo;
    my $baz = \$foo;

    $foo :=: $bar;  # true
    $foo :=: $baz;  # also true?!

    $bar = 1;  # updates $foo
    $baz = 2;  # does not update $foo

IMO, :=: should not auto(de)reference.


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

Reply via email to