lua-users home
lua-l archive

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

> That's a no. _ENV is set when a chunk is compiled. If you specify a
> different value for the environment for a chunk and you do not provide
> access (direct or indirect) to the global environment you have no access to
> that global environment. This is a feature, otherwise you could not build a
> sandbox.

Gé's last sentence is crucial in this discussion.

-- Roberto