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>

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