Re: lua source as config file
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: lua source as config file
- From: "Alex Queiroz" <asandroq@...>
- Date: Thu, 8 Feb 2007 09:50:53 -0300
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/