blob: 540866a8b983ffa660487a697e95ced4f846195f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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
|