Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Apo 12: Space in method calls
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Abhijit A. Mahabal  
View profile  
 More options Apr 17 2004, 2:48 pm
Newsgroups: perl.perl6.language
From: amaha...@cs.indiana.edu (Abhijit A. Mahabal)
Date: Sat, 17 Apr 2004 13:07:44 -0500 (EST)
Local: Sat, Apr 17 2004 2:07 pm
Subject: Apo 12: Space in method calls
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/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.