lua-users home
lua-l archive

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

2010/1/9 Ignacio Burgueño <>:
> Say I have a package called "" (that is, the file "bar.lua" in the
> directory "foo")
> It is accessible in the path, so require "" works.
> But in foo\bar.lua, this won't work.
> print(package.searchpath((...))) -- gives an error, looks for ""
> instead of "foo\\bar"

This bug deserves more visibility. I can confirm that this very useful
little function is not converting dots to slashes when looking up
modules. Unless this is intended, although that would seem rather odd.

steve d.