package LocalUtilities; require Exporter; our @ISA = qw( Exporter ); our @EXPORT_OK = qw( record_visit random_quote ); sub record_visit { # do stuff... } sub random_quote { # do other stuff... } 1; # Always end your modules with a true expression. #### use LocalUtilities qw( random_quote ); LocalUtilities::record_visit(); print random_quote();