Re: Question for Larry

2009-05-26 Thread TSa
HaloO, John M. Dlugosz wrote: Daniel Ruoso daniel-at-ruoso.com |Perl 6| wrote: %a := 1; is an operation in the hash itself, not in that specific cell of the hash. This to me implies that postcircumfix:{'<','>'} returns some assignment proxy that knows the hash. This is e.g. needed for auto

Re: Question for Larry

2009-05-25 Thread John M. Dlugosz
Daniel Ruoso daniel-at-ruoso.com |Perl 6| wrote: A few facts: * A Scalar in item context returns its value; * The dotty operator implies item context; * A list in item context returns itself; Thanks. Exactly. but it would probably be more clear to state that "the name '$x' in the lexpad

Re: Question for Larry

2009-05-25 Thread Daniel Ruoso
Em Seg, 2009-05-25 às 11:36 -0500, John M. Dlugosz escreveu: > Can you tell me if I'm missing something fundamental here? While I'm not larry, I think I can help you out here ;) > Regarding "item containers" ... > my @A = (1, 2, 3); > my $x; # default to "is Scalar" > $x = @A; '$x'

Question for Larry

2009-05-25 Thread John M. Dlugosz
Can you tell me if I'm missing something fundamental here? Regarding "item containers" ... my @A = (1, 2, 3); my $x; # default to "is Scalar" $x = @A; Now $x is BOUND TO an item container of type Scalar, which CONTAINS an Array which itself CONTAINS 3 items of type Int. @A is BOUND