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