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, all by itself, and in that case would not
this mean ($obj.method($x + $y)) + $z, the same as the other call it is
contrasted with:

$obj.method($x + $y) + $z

What am I missing?

--Abhijit

Abhijit A. Mahabal      http://www.cs.indiana.edu/~amahabal/

Reply via email to