lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hallo,

On 2/8/07, Andre Carregal <carregal@fabricadigital.com.br> wrote:
> Luiz Henrique de Figueiredo wrote:
> ...
> If you need those assignments to go into a table, setfenv after loadfile
> does it, as someone has already suggested.

Or just prepend

module("config")

to the file and then load it. Should be safe enough, no?


    That's how I do it. I do not mind the global "config" table.

--
-alex
http://www.ventonegro.org/