lua-users home
lua-l archive

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


Peter Cawley wrote:
http://www.corsix.org/content/look-lua-52-work3

No more "in env do ... end". So what's now the preferred idiom for executing a given function in different environments?

(passing the desired environment as an argument and setting_ENV at the beginning of the called function?)

  Enrico