Hi monks.
I can't seem to get the constant pragma and HTML::Mason to work together. Putting the "use constant" declarations in <%once> results in seemingly random, sporadic "Constant subroutine ___ redefined" errors, and I also get them if I declare constants in a sub component with the same names as constants declared in the top-level component. Apparently, mod_perl and constant don't always get along.
Does anyone know of any safe ways to declare and use constants with Mason?
In reply to HTML::Mason and "use constant" constants? by William G. Davis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |