package Packagename; use Exporter; @EXPORT_OK = qw(foo bar); @ISA='Exporter'; use strict; # etc