lua-users home
lua-l archive

Re: Non-uniqueness of module names

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


I am not sure you are aware that the module itself already gets
this information:
---- file temp.lua
print(...)
$ lua -l temp
 --> temp	./temp.lua
Maybe 'require' could simply return this information as a second result?
-- Roberto

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