lua-users home
lua-l archive

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


On Oct 9, 2011, at 11:12 PM, Sebastien Lai wrote:

>  both 'arg' and '_VERBOSE'

What's _VERBOSE?

> are way too often
> unknowingly overwritten,

Is that so?

> because neither '_VERSION' nor 'arg' are in
> any way especially marked.

This is true for any of the Lua's variables, no?

E.g.:

ipairs = 'humpty dumpty'

Just don't do it :)

Or if you are really paranoiac, set your environment to disallow key redefinition. See etc/strict.lua for a head start.