lua-users home
lua-l archive

intra-package require

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


Hello,
What is the proper way to require another module in the same package, that is with a relative path? Typically, require a module in /app/tools from another in /app/lib.
Tried
 require "..tools.modname"
but this get translated to
 ".///tools/modname.lua"
Denis
________________________________
la vita e estrany
http://spir.wikidot.com/

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