Syntactic Confectionery Delight | |
PerlMonks |
Re^2: coding rulesby ihb (Deacon) |
on Jun 09, 2005 at 06:04 UTC ( [id://464977]=note: print w/replies, xml ) | Need Help?? |
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 Section
Meditations
|
|