[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Globals in 5.0 Alpha
- From: Luiz Henrique de Figueiredo <lhf>
- Date: Mon, 19 Aug 2002 08:23:36 -0300
>By the way, I can imagine adding some syntatic sugar for a namespace
>support which handles the common case used below.
The idea is to have a library of functions for the common cases, modules being
one of them. Note that "globals" can take a function or "level" as an optional
first argument, so you can write functions that call "globals" to affect
someone else's global table (typically the original caller).