in reply to Re: Re-using/changing a class
in thread Re-using/changing a class

Have a look at the the delete_package('Foo::Bar') function in the standard module Symbol. That way you can clear the module from memory before telling perl that it isn't loaded.