Hi,
Show quoted text> > Module::Reload doesn't delete modules when files on disk are not present anymore.
I'm not convinced that this is the right thing to do.
A script might have been running for a while, and if we included your patch, then if a module were removed, then the script could bomb out, after running fine for a good while.
Obviously this is a bit of an edge case anywhere: a module getting deleted while there's code running that's using it.
But I think in this (unlikely) scenario, the right thing to do is not delete the module.
Let's say it was deleted because someone was installing a new version with UNINST=1, and we happen to catch things where the old module has gone, but the new one isn't there: in this case, not deleting it will let the script keep running, and if we check again, then we'll see the new version and reload that.
Neil