lua-users home
lua-l archive

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


Op Ma. 15 Apr. 2019 om 14:45 het Roberto Ierusalimschy
<roberto@inf.puc-rio.br> geskryf:
>
> 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?

That would be perfect, thanks.

-- Dirk