develooper Front page | perl.perl6.language | Postings from March 2005

Re: .method == $self.method or $_.method?

Thread Previous | Thread Next
From:
Michael G Schwern
Date:
March 17, 2005 01:55
Subject:
Re: .method == $self.method or $_.method?
Message ID:
20050317082637.GB18506@windhund.schwern.org
On Thu, Mar 17, 2005 at 07:00:08PM +1100, Adam Kennedy wrote:
> The only minor thing I 
> can see would be that you will end up with a slight asymmetry question 
> of "if we use $:attribute for a private attribute, do we call :method 
> for a private method?"

That occurs no matter if .method means $self.method or $_.method.

Anyhow, I don't see why not. :)


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About