At 01:10 PM 8/5/00 -0400, Mark-Jason Dominus wrote:
>Summary of manifesto: Global variables must be expunged.
>
>Replacing the old rotten global variables with new rotten global
>variables is not enough of an improvement.

Works for me. Globals should be for things that truly are global. ($^O, for 
example) Most of what's global now should be lexically scoped or tied to 
the things they actually affect.

Lexical warnings fixing $^W are a good example of the right way to handle 
the first type of global things, while per-handle record separators are a 
good example of a proper fix for the second type.


                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to