develooper Front page | perl.perl6.language | Postings from August 2006

Re: === and array-refs

Thread Previous | Thread Next
From:
Markus Laire
Date:
August 16, 2006 05:51
Subject:
Re: === and array-refs
Message ID:
67d53e40608160551q27629c18pe12794fac8419eb8@mail.gmail.com
On 8/16/06, Dr.Ruud <rvtol+news@isolution.nl> wrote:
> "Markus Laire" schreef:
>
> >     my $x = 'Just Another';
> >     my $y := $x;
> >     $y = 'Perl Hacker';
> >
> > After this, both $x and $y contain the string "Perl Hacker", since
> > they are really just two different names for the same variable.
> > </quote>
>
> So "$x === Sy" stil holds.

Exactly, and because of that $a === $b does NOT hold in my example.
($a would be "Two", $b would be "One")

-- 
Markus Laire

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About