Class attributes themselves do the
L<MooseX::ClassAttribute::Trait::Attribute> role.
-There is also a L<MooseX::ClassAttribute::Meta::Method::Accessor>
-which provides part of the inlining implementation for class
-attributes.
-
=head2 Cooperation with Metaclasses and Traits
This module should work with most attribute metaclasses and traits,
use strict;
use warnings;
-use MooseX::ClassAttribute::Meta::Method::Accessor;
-
use namespace::autoclean;
use Moose::Role;
my %trustme = (
'MooseX::ClassAttribute' => [ 'init_meta', 'class_has' ],
- 'MooseX::ClassAttribute::Meta::Method::Accessor' => ['.+'],
'MooseX::ClassAttribute::Meta::Role::Attribute' => ['new'],
'MooseX::ClassAttribute::Trait::Class' =>
['compute_all_applicable_class_attributes'],