package A; with 'MyApp::Role::Logger'; sub do_a_ish_things { my $self = shift; $self->log( "doing a" ); }