Does anyone know of any safe ways to declare and use constants with Mason?
just use them, cause those sporadic warnings are not so sopradic (if mason/mod_perl/whoever reloads you component for whatever reason (your component changes...), of course those constants are going to be redefined -- this is expected (under a persistant environment like mod_perl)).
you could use Readonly (if that's why you're using constants)
Don't use constants (unless a module exports constants, I don't see how they're of much use).
MJDsays "you can't just make shit up and expect the computer to know what you mean, retardo!"