lua-users home
lua-l archive

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


On Tue, Jan 24, 2012 at 6:13 AM, steve donovan
<steve.j.donovan@gmail.com> wrote:
> On Sun, Jan 22, 2012 at 1:03 AM, HyperHacker <hyperhacker@gmail.com> wrote:
>> Personally I think setfenv will be the function I find myself
>> replacing the most...
> Here's the Lua 5.2 compatibility functions from Penlight, which are
> all in utils.lua, line 200

setfenv/getfenv have been added [1], and the module has been renamed
'compat_env'.

[1] https://gist.github.com/1654007