Class::...e::Trait(3)
π NAME π
ok so bestie, meet Class::MOP::Class::Immutable::Trait β it's the thing that implements immutability for metaclass objects. that's the whole vibe. π§β¨
πΈ VERSION πΈ
this is version 2.4000, ok? don't come for me with an older one π«Ά
π¦ DESCRIPTION π¦
okay so here's the tea β β this class is a pseudo-trait that gets applied to immutable metaclass objects. and the way that "trait" is doing so much heavy lifting... because lowkey? it's not a trait at all. in reality, it is simply a parent class. π like, that's it. that's the plot twist. it's giving "fake it till you make it" and honestly? it ate.
what it actually brings to the table is caching and read-only-ness for a whole bunch of metaclass methods. so once your metaclass is frozen π§, this is the thing making sure nobody comes along and tries to change stuff. iconic behavior, no cap. π
π AUTHORS π
the absolute legends who made this happen, in order:
- Stevan Little
<stevan@cpan.org> - Dave Rolsky
<autarch@urth.org> - Jesse Luehrs
<doy@cpan.org> - Shawn M Moore
<sartak@cpan.org> - ΧΧΧΧ Χ§ΧΧ'ΧΧ (Yuval Kogman)
<nothingmuch@woobling.org> - Karen Etheridge
<ether@cpan.org> - Florian Ragwitz
<rafl@debian.org> - Hans Dieter Pearcey
<hdp@cpan.org> - Chris Prather
<chris@prather.org> - Matt S Trout
<mstrout@cpan.org>
π COPYRIGHT AND LICENSE π
this software is copyright (c) 2006 by Infinity Interactive, Inc.
and fr fr, it's free software ποΈ β you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. periodt. π
ok bestie that's the whole page π this was served up by perl v5.42.0 on 2025-07-25, and yes it's still filed under Class::...e::Trait(3) in the User Contributed Perl Documentation section. mwah π go freeze some metaclasses, you got this π«Άβ¨
π¦ where this page comes from
- fedora 43: perl-Moose 2.4000-4.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms