Re: question on modules (newbie)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: question on modules (newbie)
- From: Romulo Bahiense <romulo@...>
- Date: 2006年2月23日 09:30:14 -0300
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.