Re: Apo 12: Space in method calls

2004-04-19 Thread Abhijit A. Mahabal
> No, obviously arguments. Okay, I see the problem. What you're missing > is that in an earlier Apocalypse, we said that postfix subscripts > and argument lists may not have an intervening space. Oh, I see. Yes, I had missed that. Thanks for clearing that up. --Abhijit

Re: Apo 12: Space in method calls

2004-04-19 Thread Larry Wall
On Mon, Apr 19, 2004 at 10:37:57AM -0500, Abhijit A. Mahabal wrote: : > $obj.meth, -> obviously not arguments : > $obj.meth $foo,$bar -> obviously arguments : > : : $obj.meth() + $bat -> obviosly not arguments : $obj.meth () + $bat

Re: Apo 12: Space in method calls

2004-04-19 Thread Abhijit A. Mahabal
On Mon, 19 Apr 2004, Larry Wall wrote: > On Sat, Apr 17, 2004 at 01:07:44PM -0500, Abhijit A. Mahabal wrote: > : $obj.method ($x + $y) + $z > : > : >From the earlier examples (like $obj.method +1), I got the impression that > : you look ahead until you find a term or an operator. In the example a

Re: Apo 12: Space in method calls

2004-04-19 Thread Larry Wall
On Sat, Apr 17, 2004 at 01:07:44PM -0500, Abhijit A. Mahabal wrote: : I do not understand one of the examples in the Use of methods/the dot : notation section: : : $obj.method ($x + $y) + $z : : >From the earlier examples (like $obj.method +1), I got the impression that : you look ahead until you

Apo 12: Space in method calls

2004-04-17 Thread Abhijit A. Mahabal
I do not understand one of the examples in the Use of methods/the dot notation section: $obj.method ($x + $y) + $z >From the earlier examples (like $obj.method +1), I got the impression that you look ahead until you find a term or an operator. In the example above, isn't ($x + $y) a full term, al