[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Command line library load in Lua 5.2
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 1 Nov 2011 13:08:16 -0200
> 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)...