On Thu, Jul 02, 2009 at 03:32:54PM -0400, Stevan Little wrote: > The result is that we would have something like this: > > has foo => (traits => [ 'Basic::ArrayRef' ], isa => ArrayRef, ...); > > has web_hits => (traits => [ 'Pattern::Counter' ], ...); > > As long as the traits are below the right Moose::*::*:: namespace we > should be good.
Do not forget to distinguish between full names (Moose::Meta::Attribute::Trait::whatever) and short names (register_implementation). It may be reasonable for 'ArrayRef' to be the shortname but 'DataType::ArrayRef' to be the namespace under Moose::Meta::Attribute::Trait. hdp.