| Devel-Events documentation | view source | Contained in the Devel-Events distribution. |
Devel::Events::Filter::RemoveFields - Remove certain fields from events
use Devel::Events::Filter::RemoveFields; my $f = Devel::Events::Filter::RemoveFields->new( fields => [qw/generator/], handler => $h, ); # all events delivered to $f will be proxied to $h without any 'generator' # field. # field order and multiple instances of a field won't be affected
This simple filter will remove all instances of a certain field in an event.
An array reference.
Tbe list of fields to remove from the event data.
Removes the fields specified in fields from the event data.
| Devel-Events documentation | view source | Contained in the Devel-Events distribution. |