lua-users home
lua-l archive

Re: return value of require?

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


On Feb 28, 2008, at 9:18 AM, Hakki Dogusan wrote:
Can't comment on swig, but I'm using your style. In addition, I'm writing my lua code as modules too (learned this style from Petite Abeille's code):
Oh, my... :P
Another advantage of using module() *without* package.seeall, is that it forces you to declare/account for any external dependencies of a module. Cut down on typo quiet a bit.
Cheers,
PA.

AltStyle によって変換されたページ (->オリジナル) /