lua-users home
lua-l archive

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

> I thought about comparing the "package.loaded" table before and after each
> "require" and finding what was added but this doesn't work because each of
> the modules can in turn "require" other modules so there can be several
> modules added at once in this way.

How about redefining 'require' to do that tracking automatically?