J. David Blackstone writes:
>   I agree with you.  However, I am unable to find a case in which a
> package global could not be replaced with a lexical defined in the
> module's .pm file and an accessor method for it.  Even if you are
> extending a class, you can still provide this.

A lexical plus an accessor method, when the accessor method does
nothing more than get or set the value with no checks or anything,
is just a slow and cumbersome global variable.

I don't understand the rush to remove global variables.  Why are they
such a blight?  If you don't like 'em, don't use 'em.  But don't make
me give them up.  They make things easy for me.

Nat

Reply via email to