POE::API::HooksPOE::API::Hooks is a Perl module to implement lightweight hooks into POE. | |
Download |
POE::API::Hooks Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Matt Cashner
- Publisher web site:
- http://search.cpan.org/~sungo/POE-Exceptions-0.0502/lib/POE/Exceptions.pm
POE::API::Hooks Tags
POE::API::Hooks Description
POE::API::Hooks is a Perl module to implement lightweight hooks into POE. POE::API::Hooks is a Perl module to implement lightweight hooks into POE.SYNOPSIS use POE; use POE::API::Hooks; POE::API::Hooks->add( before_event_dispatch => &do_something, after_event_dispatch => &do_something, before_session_create => &do_something, after_session_create => &do_something, before_event_enqueue => &do_something, after_event_enqueue => &do_something, ); # ... carry on with life as normal ...This module adds lightweight hooks into the inner workings of POE. Currently, one can add hooks into POE that get called before/after an event is dispatched, before/after a Session is created, and/or before/after an event is enqueued. These callbacks receive the exact same argument list as their Kernel/Session counterpart. For event dispatch related callbacks, see _dispatch_event and _data_ev_enqueue in POE::Kernel. For session related callbacks, see create in POE::Session. Requirements: · Perl
POE::API::Hooks Related Software