Larry Wall wrote:

On Sun, May 15, 2005 at 12:22:07PM -0400, Matt Diephouse wrote:
: Does this mean private methods will be called like this?
: : ./:method()


No, I think that's still just

.:method()

This missing design rationale here is that the colon acts as part of the unary operator:


    ./    unary public-method-call-on-invocant

    .:    unary private-method-call-on-invocant

So the rule is:

    One-character operator --> call on $_
    Two-character operator --> call on $?SELF"

Damian

Reply via email to