Please sign in to comment.
In GetAvailableMods() modules paths were returned like "moddir//module.pm", but when they are loaded, they use path "moddir/module.pm". Because of that our hack of cleaning %INC when the module is unloaded, which enables UpdateMod, removed wrong record from %INC, left right record in it, and erased the module's namespace. When the module was loaded again, the namespace was not restored, because "require" didn't load the module, because it was still in %INC. So, when we call a function of that module, the function does not exist anymore.
- Loading branch information...
Showing with 9 additions and 2 deletions.