MooseX...ication(3pm)
π NAME π
MooseX::MethodAttributes::Role::Meta::Role::Application β bestie, it's a generic role for applying a role that has method attributes onto... something. anything really. it's giving "one job, done cute" π
(and yes, this lil page lives in the User Contributed Perl Documentation, so you know it's community-crafted π«Ά)
β¨ VERSION β¨
version 0.32 β this is the one, the current one, no cap πΈ
π METHODS π
π¦ apply
okay so the apply method here is wrapped β like, it got a lil makeover so it can do its main character thing properly. here's the tea, in order:
- first it makes sure the correct metaclasses are actually present on the target β the ones that hold and propagate method attribute data β because you literally cannot apply a role without those being there. vibe check passed or we don't proceed π
- then it delegates to the original method to actually, y'know, do the applying. no gatekeeping, it lets the og method cook π³
- and finally it makes sure that any attributes coming from the role get copied over to the target class. nothing gets left behind, periodt β¨
so it's like: prep the stage, let the original perform, then make sure every accessory got packed up and sent to the right address. iconic behavior honestly π
π SUPPORT π
got a bug? don't suffer in silence bestie, they literally want to hear about it π
- Bugs may be submitted through the RT bug tracker:
https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-MethodAttributes - or you can email them straight up at
bug-MooseX-MethodAttributes@rt.cpan.org
there's also a mailing list for users of this distribution, at http://lists.perl.org/list/moose.html β pull up, say hi π
and there's an irc channel too!! for users of this distribution, at #moose on irc.perl.org β or if you're fancy, irc://irc.perl.org/#moose πΈ
come hang out, the moose people are lovely fr fr π«Ά
π AUTHORS π
these absolute legends made it happen:
- Florian Ragwitz
<rafl@debian.org> - Tomas Doran
<bobtfish@bobtfish.net>
π COPYRIGHT AND LICENCE π
This software is copyright (c) 2009 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. so like... go wild, respectfully π
and that's the whole page bestie!! π this was documented in User Contributed Perl Documentation for MooseX::MethodAttributes::Role::Meta::Role::Application β page generated by perl v5.30.3 on 2020-08-31, so yes she's been serving looks since way back. slay, take care, and go apply those roles responsibly β¨ππ
π¦ where this page comes from
- debian bookworm: libmoosex-methodattributes-perl 0.32-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libmoosex-methodattributes-perl 0.32-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu jammy: libmoosex-methodattributes-perl 0.32-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libmoosex-methodattributes-perl 0.32-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libmoosex-methodattributes-perl 0.32-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libmoosex-methodattributes-perl 0.32-1 Β· 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