lua-users home
lua-l archive

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


Unless you changed the environment of the original module function
(not yours), then the behavior be identical. You've also not really
told us what _is_ going wrong.

Because you say that you have the redefined module function in an
environment different from the original, when you load a new module,
it will not see the redefined module function (because the redefined
module function is not in the real global environment). Is that your
problem?


-- 
-Patrick Donnelly

"One of the lessons of history is that nothing is often a good thing
to do and always a clever thing to say."

-Will Durant