RECENT POSTS

P5-class-unload

May 26, 2018

Perl5 module for unloading classes

Unloads the given class by clearing out its symbol table and removing it from INC.

SYNOPSIS

use ClassUnload;
use ClassInspector;

use SomeClass;

ClassUnload->unload 'SomeClass' ;
ClassInspector->loaded 'SomeClass' ; # Returns false

require SomeClass; # Reloads the class

WWW http//search.cpan.org/dist/Class-Unload/