Eve::Event - a base class for all event classes.
package Eve::Event::Foo; use parent qw(Eve::Event); 1; my $event = Eve::Event::Foo->new(event_map => $event_map) ->trigger();
Eve::Event is an abstract class that must be inherited by event classes. This will enable them to be triggered and have handlers bound to them.
event_map
an event map the event will interact with.
The trigger() method is used to start processing the event by all handlers that are bound to it and its ancestors.
trigger()
Copyright 2012 Igor Zinovyev.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Eve, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Eve
CPAN shell
perl -MCPAN -e shell install Eve
For more information on module installation, please visit the detailed CPAN module installation guide.