View on
MetaCPAN
Karen Etheridge > Devel-Events > Devel::Events::Handler

Download:
Devel-Events-0.09.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  4
Open  0
View/Report Bugs
Module Version: 0.09   Source  

NAME ^

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

VERSION ^

version 0.09

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.

syntax highlighting: