- SEE ALSO
- LICENSE AND COPYRIGHT
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.
an event map the event will interact with.
trigger() method is used to start processing the event by all handlers that are bound to it and its ancestors.
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.