Mail::Abuse::Report

Mail::Abuse::Report is a Perl module to process an abuse report.
Download

Mail::Abuse::Report Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Luis E. Mu
  • Publisher web site:
  • http://search.cpan.org/~luismunoz/Crypt-PasswdMD5-1.3/PasswdMD5.pm

Mail::Abuse::Report Tags


Mail::Abuse::Report Description

Mail::Abuse::Report is a Perl module to process an abuse report. SYNOPSIS use Mail::Abuse::Report; my $r = new Mail::Abuse::Report ( -text => $report_text, -reader => $reader, -filters => , -parsers => , -processors => , -debug => 1, -config => $config_file, );This class encapsulates an abuse report and provides methods to automate tasks such as extracting individual incidents from it, filtering the incidents, etc.Each of the methods are described in detail, below:->new(%args)Creates a new Mail::Abuse::Report object. It accepts the following arguments:-textSpecifies the text that will be used to fill the report with. This is incompatible with -reader, so choose one and stick to it. Defaults to undef.-readerSpecifies the object (tipically a member of Mail::Abuse::Reader) that will be used to fetch the text of the next report. This is incompatible with -text, so pick one and stick to it. Defaults to undef.-filtersA reference to a list of objects that can filter incidents. Normally, objects based on Mail::Abuse::Filter. Defaults to no filters.-parsersA reference to a list of objects that can parse incidents out of the report text. Normally, objects based on Mail::Abuse::Incident. Defaults to no parsers.-processorsA reference to a list of objects that can process the incidents on the report, normally objects based on the Mail::Abuse::Processor class. Defaults to no processors.-debugA true value causes diagnostic messages to be sent via warn().-configSpecifies the name of the config file to fetch configuration items from. Can be left unspecified. Requirements: · Perl


Mail::Abuse::Report Related Software