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

Reply via email to