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

Re: method calls on $self

Thread Previous | Thread Next
From:
Larry Wall
Date:
July 7, 2005 20:12
Subject:
Re: method calls on $self
Message ID:
20050708031217.GA3727@wall.org
The basic problem is that I always hated looking at C++ and not knowing
whether I was looking at a function or a method, so I'm not going to
make standard Perl work like that.  On the other hand, there's always

    use self "";

to go with everyone else's preferences:

    use self "."
    use self "`"
    use self "·"
    use self ".."
    use self "^."
    use self "i."
    use self "o."
    use self "¤."
    use self "me."
    use self "self."
    use self "this."

Did I leave anyone out?

Larry

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