[EMAIL PROTECTED] writes: : Okay, then: : : @foo = @( @a + @b ); # @(), $(), and %() set context. : : Easier to identify the operators, and little or no question about the : context... Well, sure, though it was already in list context from the assignment... I do expect that @() and $() will be used for interpolating list and scalar expressions into strings, and it is probably the case the $() would be a synonym for scalar(). @() would then be a synonym for the mythical list() operator. Which probably, in Perl 6, turns out to be equivalent to [...] when used in a scalar context, and a no-op in list context. That is, $() and @() would essentially be typecasts. Larry
- Re: Tying & Overloading Graham Barr
- Re: Tying & Overloading H . Merijn Brand
- Re: Tying & Overloading Graham Barr
- Re: Tying & Overloading Davíð Helgason
- Re: Tying & Overloading Dan Sugalski
- Re: Tying & Overloading Simon Cozens
- Re: Tying & Overloading Graham Barr
- Re: Tying & Overloading Stephen P. Potter
- Re: Tying & Overloading Larry Wall
- Re: Tying & Overloading Austin Hastings
- Re: Tying & Overloading Larry Wall
- Re: Tying & Overloading Graham Barr
- Re: Tying & Overloading Buddha Buck
- Re: Tying & Overloading Larry Wall
- Re: Tying & Overloading Nathan Torkington
- Re: Tying & Overloading Graham Barr
- Re: Tying & Overloading John Porter
- Re: Tying & Overloading Larry Wall
- Re: Tying & Overloading John Porter
- Re: Tying & Overloading Dan Sugalski
- Re: Tying & Overloading John Porter