lua-users home
lua-l archive

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


>    local pkg = assert(require "obscuremodule")

Calling assert here does nothing because require raises errors if they occur.

Perhaps you mean

	local ok, pkg = pcall(require,"obscuremodule")