MooseX...difier(3pm)
π NAME π
okay bestie, welcome to MooseX::Declare::Syntax::Keyword::MethodModifier β she handles method modifier declarations, and she does it flawlessly β¨
πΈ VERSION πΈ
this is version 0.43 β the moment, the icon, the legend π
π¦ DESCRIPTION π¦
so basically? this module lets you implement method modification handlers. we're talking the big ones, the ones you already know and love: around and before π
that's the whole vibe. it's giving "plumbing that makes the pretty syntax work," and honestly? iconic π
β¨ ATTRIBUTES β¨
π modifier_type
a required string, no cap. and it has to be one of these five, pick your fighter:
aroundafterbeforeoverrideaugment
fr fr, it's required β don't ghost this one or she'll be sad π
π METHODS π
register_method_declaration
Object->register_method_declaration (Object $metaclass, Str $name, Object $method)
so what this does is it adds the method modifier to the $metaclass β and it does that via Moose::Utils' add_method_modifier π«Ά and here's the lil detail: whatever that call returns? yeah, that gets returned right back out of this method too. so the return value flows through, main character energy all the way down π«
π CONSUMES π
MooseX::Declare::Syntax::MethodDeclaration
π SEE ALSO π
MooseX::DeclareMooseX::Declare::Syntax::MooseSetupMooseX::Declare::Syntax::MethodDeclarationMooseX::Method::Signatures
π AUTHOR π
Florian Ragwitz <rafl@debian.org> π
π 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.
and that's the whole page, bestie!! this was documented for perl v5.34.0, dated 2022-06-15 β go forth and modify those methods π
β¨
π¦ 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