Devel::Events::Filter::RemoveFields(3)

NAME
Devel::Events::Filter::RemoveFields - Remove certain fields from events

VERSION
version 0.09

SYNOPSIS
        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

DESCRIPTION
This simple filter will remove all instances of a certain field in an event.

ATTRIBUTES

fields
    An array reference.

    Tbe list of fields to remove from the event data.

METHODS

filter_event @event
    Removes the fields specified in "fields" from the event data.

SUPPORT
Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=Devel-Events> (or bug-Devel-Events@rt.cpan.org <mailto:bug-Devel-Events@rt.cpan.org>).

AUTHOR
XXXX XXX'XX (Yuval Kogman) <nothingmuch@woobling.org>

COPYRIGHT AND LICENCE
This software is copyright (c) 2007 by XXXX XXX'XX (Yuval Kogman).

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.