# in FooInterface.pm package FooInterface; use Class::Trait 'base'; our @REQUIRES = qw(foo bar baz);