in reply to HTML::Mason and "use constant" constants?
Your problem comes from the fact that all Mason components are in the same package. Constants are just subroutines, so if you follow the same rules you would with using globals in Mason you should be fine. In my opinion, using the constant pragma is just begging for trouble, and you'd be better off using normal globals.