1MooseX::POE::Role(3) User Contributed Perl Documentation MooseX::POE::Role(3)
2
3
4
6 MooseX::POE::Role - Eventful roles
7
9 package Counter;
10 use MooseX::POE::Role;
11
12 ...
13
14 package RealCounter;
15
16 with qw(Counter);
17
19 This is what MooseX::POE is to Moose but with Moose::Role.
20
22 event $name $subref
23 Create an event handler named $name.
24
26 MooseX::POE
27
29 Chris Prather "<perigrin@cpan.org>"
30
31 Ash Berlin "<ash@cpan.org>"
32
34 Copyright (c) 2007-2009, Chris Prather "<perigrin@cpan.org>", Ash
35 Berlin "<ash@cpan.org>". All rights reserved.
36
37 This module is free software; you can redistribute it and/or modify it
38 under the same terms as Perl itself. See perlartistic.
39
40
41
42perl v5.12.0 2009-04-03 MooseX::POE::Role(3)