lua-users home
lua-l archive

[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/