Devel::Events::Filter::Callback - Callback based Devel::Events::Filter
use Devel::Events::Filter::Callback; Devel::Events::Filter::Callback->new( callback => sub { my ( @event ) = @_; return if bad_event(@event); # drop it return map { filter($_) } @event; # change it }, handler => $handler, );
Duh.
Devel::Events::Handler
a code ref
Delegates to callback
callback
To install Devel::Events, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Devel::Events
CPAN shell
perl -MCPAN -e shell install Devel::Events
For more information on module installation, please visit the detailed CPAN module installation guide.