slurp "my_other_stuff"; #### # here is my file of common stuff package my_stuff; # this tells perl how to name this collection of things sub my_function { # stuff } 1; # this let's perl know that the package has loaded ok. #### #!/usr/bin/perl use my_stuff; # this will look for a package named "my_stuff.pm" in the directories listed in @INC my_stuff::my_function($arg1,$arg2);