> Spinning off from Larrys syntactic comment and Mike
> Pastores example, how about some of the following:

How about any variable created in UPPER case is a constant?  

Quite restrictive, and likely to screw many things up, admittedly,
but it's an easy rule to remember and one which is generally 
considered good programming practice.  ISTR it's what Ruby 
uses.  It works well for all those Perl-provided variables 
(e.g. $ME) that *should* be read-only, but not so good for those 
that are supposed to be read/write (e.g. @INC).



A


Reply via email to