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 Larry Wall
- Re: Tying & Overloading Larry Wall
- Re: Tying & Overloading Simon Cozens
- Re: Tying & Overloading Larry Wall
- Re: Tying & Overloading John Porter
- Re: Tying & Overloading Bart Lateur
- Re: Tying & Overloading Simon Cozens
- Re: Tying & Overloading Larry Wall
- Re: Tying & Overloading John Siracusa
- Re: Tying & Overloading Larry Wall
- Re: Tying & Overloading Larry Wall
- Re: Tying & Overloading John Porter
- Re: Tying & Overloading Nathan Torkington
- Re: Tying & Overloading Graham Barr
- Re: Tying & Overloading Dan Sugalski
- RE: Re: Tying & Overloading Brent Dax
- Re: Tying & Overloading John Porter
- Re: Tying & Overloading Damien Neil
- Re: Tying & Overloading Simon Cozens
- Re: Tying & Overloading Bart Lateur
- RE: Tying & Overloading Henrik Tougaard