lua-users home
lua-l archive

Re: require flow and relation between package.searchers and package.searchpath

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


It was thus said that the Great Milind Gupta once stated:
> 
> Now when I do require("moduleX.test") it is successfully able to load that
> module. But if I do require("moduleX.tst") I see no error message returned
> by my searcher. Can anybody please help me figure out what am I doing wrong
> here.
 Your function needs to return either a function OR a string describing the
error. You're returning nil and the string, which isn't correct.
 -spc

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