[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Why _ENV, not _G?
- From: steve donovan <steve.j.donovan@...>
- Date: Sun, 11 Jul 2010 16:17:56 +0200
On Sun, Jul 11, 2010 at 1:41 PM, GrayFace <sergroj@mail.ru> wrote:
> IMO, after _ENV is introduced, the old _G is redundant. _ENV supersedes it.
> So, won't it be better to keep the name _G instead of _ENV? It's shorter.
But, it's different. _G always refers to global scope, _ENV refers to
current 'environment'. So it would be confusing to change the meaning
of _G.