The problem with constant is just what you said: maintainability. Over the years, I have seen so many people have problems with the constant module that I consider it a frequent source of bugs. Yes, if you learn all the details of using it in hashes and strings you can make it work, but people "constantly" stumble over it. It's just too error-prone.
In reply to Re^3: On quoting the lhs of '=>'
by perrin
in thread On quoting the lhs of '=>'
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |