Devel::Events::Handler(3)

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

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.