[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (work4) now available
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sun, 8 Aug 2010 16:26:17 -0300
> >> myModule, myOtherModule = require('moduleM')
> >
> > Multiple return values are not supported by require as far as I know.
>
> Then perhaps it should? Of course, you can return a table as well.
require can't return multiple values because it caches the value
return by the module open function.