package Your::Thing; ## The subroutines and stuff that implement your module return 1 if caller; ## return a true value and exit when loaded as a module package main; ### Write tests that use Your::Thing here. ...