NAME

Devel::Events::Handler - An optional base role for event handlers.

VERSION

version 0.10

SYNOPSIS

package MyGen;
use Moose;

with qw/Devel::Events::Handler/;

sub new_event {
	my ( $self, $type, %data ) = @_;

	# ...
}

DESCRIPTION

This convenience role reminds you to add a new_event method.

REQUIRED METHODS

new_event @event

Handle a fired event.

SUPPORT

Bugs may be submitted through the RT bug tracker (or bug-Devel-Events@rt.cpan.org).

AUTHOR

יובל קוג'מן (Yuval Kogman) <nothingmuch@woobling.org>

COPYRIGHT AND LICENCE

This software is copyright (c) 2007 by יובל קוג'מן (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.