package Trait::Foo; use Class::Trait 'base'; # the following adds their methods to @Trait::Foo::INHERITED_PROVIDES use Class::Trait qw(Trait1 Trait2); our @PROVIDES = qw/method1 method2/; # and in the Class::Trait::Base class: sub methods { my $class = shift; no strict 'refs'; return @{"${class}::PROVIDES"}, @{"${class}::INHERITED_PROVIDES"}; }