use constant MIN_CHAR => 1; # no need to put a 'scalar' in front use constant MAX_CHAR => 12; print "x ${\MIN_CHAR}-${\MAX_CHAR}";