package My::Module; our @EXPORT = qw/Somefunction/; use Exporter; our @ISA = qw/Exporter/; sub Somefunction { # do something; }