in reply to HTML::Mason and "use constant" constants?

Does anyone know of any safe ways to declare and use constants with Mason?

Give them unique names, and place them in a separate file that does not get reloaded frequently, such as a new My_Project::Constants package.

  • Comment on Re: HTML::Mason and "use constant" constants?