Class::MOP::Mixin(3)

πŸ’– Class::MOP::Mixin πŸ’–

okay so bestie, welcome to the manual page for Class::MOP::Mixin β€” you're reading the perl docs here, and this one's short but she's important, trust πŸ’…

Version: version 2.4000 ✨


🌸 DESCRIPTION 🌸

So basically? This class hands you a lil handful of methods that are useful in all metaclasses. Like, every metaclass out here is getting fed by this vibe. She's the base-class bestie, the foundation fit, the whole reason things work. iconic behavior honestly πŸ¦‹


πŸŽ€ METHODS πŸŽ€

Class::MOP::Mixin->meta

This one hands you back a Class::MOP::Class object for the mixin class. That's it, that's the whole thing. She said "here's your class object, go off" πŸ‘‘

Class::MOP::Mixin->_throw_exception

Throws an exception in the Moose::Exception family. Note the underscore, bestie β€” that's the "do not touch" little sign 🚫

⚠️ This should ONLY be used internally. Any callers outside Class::MOP::* should be using the version in Moose::Util instead. Like, fr fr, if you're calling this from outside, you're in the wrong place and the vibes are off 😭

πŸ’œ AUTHORS πŸ’œ

Shoutout to the whole squad who built this, no cap:

  • 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>

legends, every single one 🫢


This software is copyright (c) 2006 by Infinity Interactive, Inc.

It's free software, babes β€” you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. Slay, open source πŸ’–


okay that's the whole page!! this was documented by the perl crew, perl v5.42.0, dated 2025-07-25, and it lives at Class::MOP::Mixin(3) β€” go be a main character with your metaclasses bestie, ily 🧚✨

πŸ“¦ where this page comes from