On Fri, Jan 28, 2011 at 9:31 PM, Hans Dieter Pearcey <h...@pobox.com> wrote:
> On Fri, 28 Jan 2011 21:29:04 +0100, Zbigniew Lukasiak <zzb...@gmail.com> 
> wrote:
>> Are there any sane options for building Moose::Roles out of Non Moose 
>> classes?
>
> "building roles out of classes" is like "building tires out of cars".
>
> Maybe you actually want a role that has an attribute that holds an instance of
> your non-moose class and delegates several methods to it.

Thanks!

To be more precise - let's say that I have two classes that normally
would be used in a multiple-inheritance pattern just as if one of them
was a Role, and that one is not really instantiated.

I'll look at the delegation possibilities.

Cheers,
Z.

Reply via email to