The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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.