in reply to Re: Unloading a module completely
in thread Unloading a module completely

use Symbol(); Symbol::delete_package("PaCkAGe") instead of undef *PaCkAGe; will remove all symbols of package, but you surely won't be able to remove all side effects of a package unless the package itself supports that.

But if you fork (or start new ithread) before loading the package, then ending that process/thread will almost certainly remove the package completely.