shell> cat Hoos.pm package Hoos; our @EXPORT = 'testsub'; use Exporter; our @ISA = 'Exporter'; sub testsub { print "exported testsub() ok\n" } 1; shell> perl -e 'use Hoos; testsub()' exported testsub() ok