package My::ConfigMixin; use base qw/ Exporter /; our @EXPORT = qw/ config /; sub config { my $self = shift; somehow_get_config(@_); }