Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

Mail::Abuse::Filter
Filter incidents depending on various criteria

Mail::Abuse::Filter - Filter incidents depending on various criteria



NAME

Mail::Abuse::Filter - Filter incidents depending on various criteria


SYNOPSIS


  package Mail::Abuse::Filter::MyFilter;

  use Mail::Abuse::Filter;

  use base 'Mail::Abuse::Filter';

  sub criteria { ... }

  package main;

  my $f = new Mail::Abuse::Filter::MyFilter;

  $report->filter([$f]);


DESCRIPTION

This class allows for the specification of a set of restrictions placed on the Mail::Abuse::Incidents that are considered interesting. Anything not interesting will be removed from a report.

The following functions are provided for the customization of the behavior of the class.

criteria($report, $incident)
This function receives a Mail::Abuse::Report and a Mail::Abuse::Incident object. It returns a true value if the incident should be handled or false otherwise. This function will be generally called by the Mail::Abuse::Report object when requested to filter its events.

Derived classes must override this method.

EXPORT

None by default.


HISTORY

  1. 01
  2. Original version; created by h2xs 1.2 with options
    
      -ACOXcfkn
    
            Mail::Abuse
    
            -v
    
            0.01


LICENSE AND WARRANTY

This code and all accompanying software comes with NO WARRANTY. You use it at your own risk.

This code and all accompanying software can be used freely under the same terms as Perl itself.


AUTHOR

Luis E. Muņoz <luismunoz@cpan.org>


SEE ALSO

perl(1).

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy