On Thu, Sep 14, 2000 at 08:10:54PM -0000, Perl6 RFC Librarian wrote:
> This and other RFCs are available on the web at
> http://dev.perl.org/rfc/
>
> =head1 TITLE
>
> Objects: C<use invocant> pragma
>
> =head1 VERSION
>
> Maintainer: Damian Conway <[EMAIL PROTECTED]>
> Date: 14 September 2000
> Mailing List: [EMAIL PROTECTED]
> Number: 223
> Version: 1
> Status: Developing
>
> =head1 ABSTRACT
>
> This RFC proposes that, as in Perl 5, the invocant of a method should be
> normally available to the method as $_[0], but that it can be
> automaticaly stripped from @_ and accessed via either a subroutine
> or a variable, using the C<use invocant> pragma.
One of the benefits I was hoping to get from having a variable hold
the invocant is the ability for the invocant to be undef if the sub
was not called as a method. Sadly this proposal does not address that :(
Graham.