Say I define a bunch of constants in a perl script, lets call it globals.pl, and I want to use them in another perl script.
Constants defined like:
use constant ERROR => 1;
require "globals.pl"; doesn't seem to do it, although it has no problem importing variables and functions, but it won't import constants.