lua-users home
lua-l archive

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


On 19.05.2011 16:48, Romulo wrote:
....
Conclusion: if you want complete isolation and don't have control over
the globals/locals/closure /registry usage of all modules used by the
script, then you shall use one state for each request. Otherwise, the
setfenv method will work fine.
....

Thank you, Romulo for this little piece of code. I'm sure it will work fine for me too. Out of curiosity: How would be the same (or even better) functionality in Lua 5.2 look like?
--Frank