MooseX...cation(3pm)

πŸ“¦
version 0.43 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

MooseX::Declare::Syntax::RoleApplication β€” bestie, it handles user specified roles ✨

So like, the actual man page title is MooseX...cation(3pm) (yes the truncation is real, iykyk, the man system did that to us and we simply have to live with it 🫢). But the real one is MooseX::Declare::Syntax::RoleApplication and it is giving "the little helper that makes with happen" energy.


🌸 VERSION 🌸

version 0.43 β€” that's the vibe check, no cap πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so listen. This role extends MooseX::Declare::Syntax::OptionHandling β€” like it inherits all that good stuff β€” and on top of that it provides a with|/add_with_option_customizations option. That's it, that's the whole job, and honestly? Iconic. πŸ‘‘


✨ METHODS ✨

πŸŽ€ add_with_option_customizations

Object->add_with_option_customizations (
    Object   $context,
    Str      $package,
    ArrayRef $roles,
    HashRef  $options
)

So the way that this works: it adds a call to with right into the scope code. That's literally what it does, and it does it slayfully πŸ’–


πŸ‘‘ CONSUMES πŸ‘‘

  • MooseX::Declare::Syntax::OptionHandling β€” yes, it eats that one, that's the one πŸ’…

🌈 SEE ALSO 🌈

  • MooseX::Declare β€” the main character itself ✨
  • MooseX::Declare::Syntax::OptionHandling β€” hi bestie, you again 🫢

πŸ’œ AUTHOR πŸ’œ

Florian Ragwitz <rafl@debian.org> β€” the legend who wrote this, we stan 🌟


This software is copyright (c) 2008 by Florian Ragwitz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. fr fr, free as in do whatever the Perl 5 terms say 🌸


πŸŽ€ cute little sign-off: this page is from perl v5.34.0, dated 2022-06-15. Go forth and with responsibly bestie πŸ’–βœ¨πŸ¦‹
πŸ“¦ where this page comes from