> 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. Uh, that should "invocand", should it not? In sub foo { $obj->meth( @args ) } the "invocant" is foo, I think. $obj is the "invocand". Unless the OO community has already decided this issue unbeknownst to me... -- John Porter We're building the house of the future together.
- RFC 223 (v1) Objects: C<use invocant> pragma Perl6 RFC Librarian
- Re: RFC 223 (v1) Objects: C<use invocant> p... John Porter
- Re: RFC 223 (v1) Objects: C<use invocant> p... Damian Conway
- Re: RFC 223 (v1) Objects: C<use invocant> p... Nathan Wiger
- Re: RFC 223 (v1) Objects: C<use invocant&g... Hildo Biersma
- Re: RFC 223 (v1) Objects: C<use invoca... John Porter
- Re: RFC 223 (v1) Objects: C<use in... Hildo Biersma
- Re: RFC 223 (v1) Objects: C<u... John Porter
- Re: RFC 223 (v1) Objects: C&... Michael G Schwern
- Re: RFC 223 (v1) Objects... Graham Barr
- Backtracing contexts with self($n) (was R... Nathan Wiger
- Re: Backtracing contexts with self($n... Hildo Biersma