Devel::Events::Handler - An optional base role for event handlers.
package MyGen;
use Moose;
with qw/Devel::Events::Handler/;
sub new_event {
my ( $self, $type, %data ) = @_;
# ...
}
This convenience role reminds you to add a
"new_event" method.
- new_event @event
- Handle a fired event.
Bugs may be submitted through the RT bug tracker
<https://rt.cpan.org/Public/Dist/Display.html?Name=Devel-Events> (or
bug-Devel-Events@rt.cpan.org <mailto:bug-Devel-Events@rt.cpan.org>).
XXXX XXX'XX (Yuval Kogman) <nothingmuch@woobling.org>
This software is copyright (c) 2007 by XXXX XXX'XX (Yuval Kogman).
This is free software; you can redistribute it and/or modify it
under the same terms as the Perl 5 programming language system itself.