freebsd-ports/devel/p5-Class-Unload/pkg-descr
Sunpoet Po-Chuan Hsieh ad4f267b7a Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.

With hat:	perl
2018-05-27 20:15:16 +00:00

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