lua-users home
lua-l archive

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


> 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?

> Sorry about the noise. I just thought it was an opportunity 
> to show how load worked...

Ok, shutting down now. :o)

Andre