Re: Require / lua-searchers / findfile: Why is the dot replaced by the dir separator?
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Require / lua-searchers / findfile: Why is the dot replaced by the dir separator?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: 2012年8月31日 13:22:50 -0300
> What I see is that if I try something like
>
> require("..\\OtherDir\\OtherFile.lua")
require accepts module *names*, not file paths. The searchers convert
module names to file paths.