Class::Unload(3)
π NAME π
Okay so welcome to the Class::Unload(3) page, brought to you by the User Contributed Perl Documentation girlies. This module is literally called Class::Unload, and its whole entire job is: unload a class. Thatβs the vibe. β¨
π VERSION π
Version 0.12, bestie β noted, screenshot, pinned. π
π SYNOPSIS π
Hereβs the little demo, exactly as it appears, no cap:
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
π¦ METHODS π¦
unload $class
This method unloads the given class by clearing out its symbol table and removing it from %INC. If itβs a Moose class, the metaclass is also removed. Thatβs the whole move, periodt. π
πΈ SEE ALSO πΈ
Class::Inspectorβ yes, go look at this one too, bestie.
π«Ά ACKNOWLEDGEMENTS π«Ά
Big thank-yous to Matt S. Trout, James Mastros, and Uri Guttman for various tips and pointers. Yβall ate. π
π AUTHOR π
Written by Dagfinn Ilmari MannsΓ₯ker <ilmari@ilmari.org>; β icon behavior, honestly.
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2025 by Dagfinn Ilmari MannsΓ₯ker.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. π«Ά
This iconic little page is from perl v5.40.2, dated 2026-01-17, and itβs Class::Unload(3) β bye bestie! πβ¨
π¦ where this page comes from
- epel 10: perl-Class-Unload 0.12-2.el10_3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms