lua-users home
lua-l archive

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



Have you checked the "strict" package?

  http://lua-users.org/lists/lua-l/2005-08/msg00737.html

-- Roberto

Neat. Is there a way to get this to play nicely with Lua 5.0? After
running this code, calls to require() seem to cause problems with
LUA_PATH and _REQUIREDNAME. I can declare LUA_PATH at the beginning of
my scripts to sidestep this problem, but for some reason, this doesn't
work for _REQUIREDNAME.

Thanks,
Eric