Moose::...Required(3)

✨ NAME ✨

okay so bestie, welcome to the manual page for Moose::...Required(3) πŸ’– β€” A Moose metaclass for required methods in Roles. that's the whole vibe. no cap.


🌸 VERSION 🌸

version 2.4000 β€” yeah she's on 2.4000, slay.


πŸ’… DESCRIPTION πŸ’…

so like… there's genuinely nothing here. the original page just has the heading and then moves on. iconic of her honestly, she said "no description, figure it out" 🫢


πŸ¦‹ INHERITANCE πŸ¦‹

Moose::Meta::Role::Method::Required is a subclass of Class::MOP::Object.

and here's the tea: she is NOT a subclass of Moose::Meta::Role::Method, because she does not provide an implementation of the method. periodt. she's required-only, she's not out here implementing anything πŸ’€


πŸŽ€ METHODS πŸŽ€

⭐ Moose::Meta::Role::Method::Required->new(%options)

this creates a new type constraint based on the %options you hand her. so what options, bestie?

  • name β€” the method name. this one is required, so like, do not skip it. not optional, not negotiable, she will not be chill about it πŸ™ˆ

🌈 $method->name

returns the required method's name, exactly as it was provided to the constructor. she's just handing back what you gave her, no editing, no glow-up, no notes πŸ’œ


πŸ’€ BUGS πŸ’€

wanna report a bug? See "BUGS" in Moose for details on reporting bugs. go tell the Moose people, not me πŸ“


πŸ‘‘ AUTHORS πŸ‘‘

the literal icons who made this happen:

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

look at that roster. main character energy across the board ✨


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

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

so basically: it's free, it's perl-licensed, go forth and remix 🫢

and that's the whole page bestie!! πŸ’– this was perl v5.42.0, dated 2025-07-25 β€” shoutout to the Moose::...Required(3) page for being short and sweet. mwah πŸ’…

πŸ“¦ where this page comes from