in reply to Unloading a module completely
Perhaps you want Symbol::delete_package? But see its caveats regarding any code using the module's subs and variables that was compiled after the old module was.
It also doesn't do the delete $INC{foo} for you, but if you are using do instead of require, that's ok.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Unloading a module completely
by gmpassos (Priest) on Dec 08, 2003 at 10:56 UTC | |
by ysth (Canon) on Dec 08, 2003 at 11:05 UTC | |
by gmpassos (Priest) on Dec 08, 2003 at 11:11 UTC | |
by gmpassos (Priest) on Dec 08, 2003 at 11:09 UTC |