lua-users home
lua-l archive

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


> Now that we are all adjusting to the new way of handling modules, the
> '-l' command might be extended to allow this:
> 
>     lua5.2 -l mymod=long_and_unwieldy_module_name -i

mymod would be a global? ie, that'd be translated to
	mymod = require"long_and_unwieldy_module_name"

In that direction lies a suggestion that modules create globals,
something that has already been beaten to death here (we hope)...