lua-users home
lua-l archive

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


> Did something change in how require() is handled?

I'm not sure. It works for me...

(There is that problem that my libraries XXX have .so called lXXX.so...
but require is loading xxx.lua, which is fine.)

> The symptom is that the require function seems to work fine, but... a
> call to any of the module loaded results in the following exception:
> 
> require( "random" )

Try assert(require"random") instead.
--lhf