search.cpan.org is shutting down. It will redirect to metacpan.org after June 25, 2018. With hat: perl
16 lines
368 B
Text
16 lines
368 B
Text
Unloads the given class by clearing out its symbol table and removing
|
|
it from %INC.
|
|
|
|
SYNOPSIS
|
|
|
|
use Class::Unload;
|
|
use Class::Inspector;
|
|
|
|
use Some::Class;
|
|
|
|
Class::Unload->unload( 'Some::Class' );
|
|
Class::Inspector->loaded( 'Some::Class' ); # Returns false
|
|
|
|
require Some::Class; # Reloads the class
|
|
|
|
WWW: https://metacpan.org/release/Class-Unload
|