Re: RFC 193 (v1) Objects : Core support for method delegation
[email protected] ("David E. Wheeler") Tue, 05 Sep 2000 13:18:50 -0700
| Newsgroups | perl.perl6.language.objects |
|---|---|
| Organization | Salon Internet |
| Message-ID | <[email protected]> |
Damian Conway wrote: > It was (and is) a good suggestion. I suspect however that it should be > > attr3 => [__ALL__] > > so that classes can still have an C<ALL> method delegated. > (Yes, now they can't have an C<__ALL__> method, > but maybe that's a Good Thing ;-) Agreed. Yes, that's very good, IMHO. > > attr3 => [*] > > Read my lips: No New Syntax! Of course - I was just making the analogy, really. :) > > This way, I know that an empty arrayref means "all methods" rather than > > "none." > > Kinda redundant since that's the default behaviour, but perhaps useful as > a documentation mechanism. Unless you change the default behavio[u]r to "don't delegate any method calls to this object!". David