package Foo; require Exporter; @Foo::ISA = qw(Exporter); our @EXPORT = qw(foo); sub foo { print "Foo::foo\n" } 1;