1MooseX::POE::Role(3) User Contributed Perl Documentation MooseX::POE::Role(3)
2
3
4
6 MooseX::POE::Role - Eventful roles
7
9 version 0.215
10
12 package Counter;
13 use MooseX::POE::Role;
14
15 ...
16
17 package RealCounter;
18
19 with qw(Counter);
20
22 This is what MooseX::POE is to Moose but with Moose::Role.
23
25 event $name $subref
26 Create an event handler named $name.
27
30 · Chris Prather <chris@prather.org>
31
32 · Ash Berlin <ash@cpan.org>
33
34 · Chris Williams <chris@bingosnet.co.uk>
35
36 · Yuval (nothingmuch) Kogman
37
38 · Torsten Raudssus <torsten@raudssus.de> <http://www.raudssus.de/>
39
41 This software is copyright (c) 2010 by Chris Prather, Ash Berlin, Chris
42 Williams, Yuval Kogman, Torsten Raudssus.
43
44 This is free software; you can redistribute it and/or modify it under
45 the same terms as the Perl 5 programming language system itself.
46
47
48
49perl v5.30.1 2020-01-30 MooseX::POE::Role(3)