MooseX...::Role(3pm)

πŸ“¦
version 0.32 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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:

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>

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