While package variables are usually constants, they are not always so. To use all-caps for something that isn't a constant will confuse your code's readers. I have yet to find a method of identifying non-constant globals with which I'm happy.
Capitalizing globals that may be changed, like $Stuff, is something I find nice.
ihb
See perltoc if you don't know which perldoc to read!
In reply to Re^2: coding rules
by ihb
in thread coding rules
by punkish
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |