lua-users home
lua-l archive

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


> Is there a way to "try" require, that is to find out whether a module 
> would exist, without causing a major alert.  Of course, pcall() can be 
> used for this.. is that the way?

Yes. This is an example of the "all is regular Lua" rule. We try to
offer the most common usage patterns; other usages can be programmed
with regular Lua stuff.

-- Roberto