[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: FInding the real name of a module
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 21 Jan 2009 21:19:03 -0200
> 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?