> What about
   > 
   >     sub somename : method (@args) {...}
   > 
   > And leaving your$self some other way at the object?

That's the idea. By default you get the invocant in $_[0],
but you can have the compiler extract it for you via C<use invocant>.
Then you get to choose your access mechanism (lexical scalar or subroutine)
and what that access mechanism is called.

And yes, it *would* be great if methods honoured their parameter lists!

:-)

Damian

Reply via email to