John Porter writes: : Larry Wall wrote: : > 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. : : Yay! Then we're nine tenths of the way to highlander variables! Except we're not having highlander variables. $foo and @foo remain distinct entities. Larry
- 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
- Re: Tying & Overloading Dan Sugalski
- Re: Tying & Overloading John Porter
- Re: Tying & Overloading Dan Sugalski
- Re: Tying & Overloading Austin Hastings
- Re: Tying & Overloading Glenn Linderman
- Re: Tying & Overloading Larry Wall
- Re: Tying & Overloading Simon Cozens