lua-users home
lua-l archive

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


     Is this really true? I usually do my require()'s before calling module=
().

Well, I said it _should_ be called first to avoid unexpected behavior (you know, usually when you are trying to explain something new to someone you avoid some details)

if you did something like this:

function foo()
end

module 'mymodule'

function bar()
end


'foo' will be put in globals, and with my compat-5.1, it will be put in mymodule too. No big deal, no reason to panic :)


Sorry,
me.