develooper Front page | perl.perl6.language | Postings from August 2006

Invocant name in S12

From:
Mark J. Reed
Date:
August 17, 2006 15:37
Subject:
Invocant name in S12
Message ID:
f60fe000608171537vd1db26ax7686cf5986fae17@mail.gmail.com
I was just reading through S12, and it doesn't seem to ever actually
state that the default invocant name is "self".  (Is it self?  Or is
it $?SELF, which doesn't appear at all?)  S12 mentions declaring an
explicit invocant with : in the method signature, and that it's
optional; and then later on in the context of attributes it uses
"self" as if it's already been talked about, but I can't find an
introduction of the term anywhere...

-- 
Mark J. Reed <markjreed@mail.com>



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