MooseX...cation(3pm)
π 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 π
π COPYRIGHT AND LICENSE π
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
- debian bookworm: libmoosex-declare-perl 0.43-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libmoosex-declare-perl 0.43-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libmoosex-declare-perl 0.43-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libmoosex-declare-perl 0.43-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libmoosex-declare-perl 0.43-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms