Re: RFC 152 (v1) Replace $self in @_ with self() builtin (not $ME)
[email protected] (Jonathan Scott Duff)
| Newsgroups | perl.perl6.language.objects |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Aug 27, 2000 at 07:54:35PM -0700, Nathan Wiger wrote: > And why is passing $self in $_[0] a good thing? Because it eliminates a butt-load of translation to convert Perl5 programs to Perl6 programs. Rather than tracking down each and every sub and figuring out if it's used as a method or not, nothing is changed and things simply work. But the C<self> or C<$ME> functionality is still there for people to use. -Scott -- Jonathan Scott Duff [email protected]