When you want to turn off an inherited delegation in an ISA situation?





"David E. Wheeler" wrote:
> 
> Damian Conway wrote:
> 
> > Err, that *is* the default behaviour. Delegation doesn't occur unless
> > you specify it. Or am I missing your meaning here?
> 
> use delegation
>     attr1 => [qw( method1 method2 method3 )],
>     attr2 => [qw( method4 method5 )],
>     attr3 => __ALL__, # Use all of them.
>     attr4 => [];      # Use none of them.
> 
> Yes, I realize that not putting attr4 in there at all is the same
> (default) thing. It's just kind of a semantic thing in my mind. But
> maybe It's just *my* mind. ;-)
> 
> Thanks,
> 
> David

-- 
                          David Nicol 816.235.1187 [EMAIL PROTECTED]
       perl -e'@w=<>;for(;;){sleep print[rand@w]}' /usr/dict/words

Reply via email to