MooseX...::Role(3pm)
π MooseX::MethodAttributes::Role π
okay so bestie, this is the MooseX::MethodAttributes::Role page from the User Contributed Perl Documentation, and it's literally about code attribute introspection β¨ (also sometimes filed under MooseX...::Role because filenames are messy, we don't talk about it π)
π VERSION π
This is version 0.32 bestie, no cap.
β¨ SYNOPSIS β¨
package MyRole;
use MooseX::MethodAttributes::Role;
sub foo : Bar Baz('corge') { ... }
my $attrs = MyRole->meta->get_method('foo')->attributes; # ["Bar", "Baz('corge')"]
like. look at that. Bar and Baz('corge') just sitting there, ready to be introspected. iconic behavior honestly π«Ά
πΈ DESCRIPTION πΈ
So what this module does, fr fr: it lets you write a Moose Role that has code attributes on its methods, and then those attributes can be introspected using Moose meta method objects. that's the whole vibe. it's giving introspection. it's giving main character energy π
π¦ SUPPORT π¦
Found a bug? (not me manifesting bugs, but like, if it happens π) you can submit it through the RT bug tracker right here:
- <https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-MethodAttributes>
- or email it straight to <mailto:bug-MooseX-MethodAttributes@rt.cpan.org> 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> π
And there's an irc channel too, for users of this distribution, at #moose on irc.perl.org β <irc://irc.perl.org/#moose> β come hang out bestie π
π AUTHORS π
The legends responsible:
- 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. periodt. π
and that's the whole page bestie, every last crumb of it π
perl v5.30.3 Β· 2020-08-31 Β· MooseX...::Role(3pm) β mwah, thanks for reading, go introspect some attributes π β¨π¦
π¦ 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