MooseX...E::Role(3pm)

πŸ“¦
version 0.215 Β· 4 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble

πŸ’– NAME πŸ’–

MooseX::POE::Role β€” eventful roles ✨

Okay so bestie, if you're here it's because you want roles that are also eventful. Yes, that's the whole vibe. πŸŽ€


🌸 VERSION 🌸

version 0.215 β€” that's the one, no cap πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

package Counter;
use MooseX::POE::Role;

...

package RealCounter;

with qw(Counter);

See what's happening? You make a package, you use MooseX::POE::Role, you do your little ... thing (iykyk), and then another package just goes with qw(Counter) and absorbs the whole vibe. Iconic. 🫢


🌈 DESCRIPTION 🌈

So the way that this works: this is what MooseX::POE is to Moose, except it's the Moose::Role version instead. Like, same energy, but it's giving role. πŸ‘‘


πŸ’… METHODS πŸ’…

event $name $subref

Creates an event handler named $name. That's it, that's the whole thing, and it ate. πŸ”₯


✨ KEYWORDS ✨

Not me putting a whole section here and it's literally empty πŸ™ˆ bestie there is nothing under this heading. Zero. Nada. The section exists, the content does not. Vibe check passed, content check did not. πŸ’€


🫢 AUTHORS 🫢

These are the legends, the main characters, the ones who did it fr fr:

  • Chris Prather <chris@prather.org> πŸ’–
  • Ash Berlin <ash@cpan.org> ✨
  • Chris Williams <chris@bingosnet.co.uk> πŸŽ€
  • Yuval (nothingmuch) Kogman πŸ¦‹
  • Torsten Raudssus <torsten@raudssus.de> <http://www.raudssus.de/> 🌸

This software is copyright (c) 2010 by Chris Prather, Ash Berlin, Chris Williams, Yuval Kogman, Torsten Raudssus.

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 yeah β€” free as in go wild, just keep it under the same terms as Perl 5 itself. Respect the license bestie, it's not that deep but it IS that deep. 🫑

And that's the whole page, babes. This one shipped as part of perl v5.26.1, dated 2018-03-30, filed under User Contributed Perl Documentation as MooseX...E::Role(3pm) β€” a title so aggressively truncated it's basically a mystery novel. πŸ’œ Stay eventful, stay role-ful, mwah. 🧚✨

πŸ“¦ where this page comes from