lua-users home
lua-l archive

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

> This seems like a sensible move. One thing that does strike me,
> though, is that it does mean that you can no longer simply set the
> global variable _G to nil and not worry about your sandboxed users
> messing with the global scope in obscure ways - they will always have
> access to _ENV.

They wil have access to their _ENV, not to other's. As long as 'load' is
not used (only 'loadin'), everything is fine.

-- Roberto