lua-users home
lua-l archive

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



Hi All,

I notice that Lua 5.1 introduces a new table, package.loaders that includes a series of functions that are invoked trying to satisfy a 'require' statement.

Is it this table supported? Is it ok to modify it (from the code that embeds LUA) to introduce generic loaders that should be executed before the existing ones?

Thanks,
Shaun