Used by simply prefixing the variable name with "$mapscript::". Such as: $mapscript::MS_OFF
For a full list of constants see the Reference: http://mapserver.gis.umn.edu/doc/perlmapscript-reference.html