lua-users home
lua-l archive

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


Roberto pointed out that you don't generally need a local declaration on the _ENV for a module, since each chunk effectively has its own _ENV upvalue; you could conceivably want it, though, if for some reason you defined more than one module in a single file.