|
Why add the parent directory? This just translates to
C:/a/b/?/d/?.lua [1]
> Then it require("mod") searches for
>
> C:\a\b\c\..\mod\d\mod.lua -> C:\a\b\mod\d\mod.lua
>
> This is good.
What is the extra directory buying you? I fail to see the benefit of an
extra directory.
> require("mod.submod") searches for
>
> C:\a\b\c\..\mod\submod\d\mod\submod.lua
>
> It would be much better I think if it searched:
>
> C:\a\b\c\..\mod\d\mod\submod.lua
What about a module named "org.conman.syslog"?