package Foo; require Exporter; @ISA = qw(Exporter); @EXPORT = qw(hello say); @EXPORT_OK = qw(hello say); sub hello { "Hello, world!\n"; } sub say { print @_; }