# usage from a so-called sub-script use strict; use warnings; # this is where the Constants.pm file resides relative to the path of the subscript. # good practices exist for where to place these files, this is just for demo use lib 'lib'; use Constants; print "Debug: $DEBUG\n";