lua-users home
lua-l archive

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


Hi,

Foo has enough information to figure out whether it was required
directly by the user, or implicitly by require"foo.bar".

How?

It receives the name of the package being required. For an implicit
call, it will be "foo.bar" instead of "foo".

[]s,
Diego.