NAME
Mail::Abuse::Reader::Stdin - Reads an abuse report through STDIN
SYNOPSIS
use Mail::Abuse::Report;
use Mail::Abuse::Reader::Stdin;
my $r = new Mail::Abuse::Reader::Stdin;
my $report = new Mail::Abuse::Report (reader => $r);
DESCRIPTION
This class reads in messages from STDIN, creating each corresponding Mail::Abuse::Report
object.
A number of configuration keys are used for establishing the operational parameters. These config keys are described below:
- stdin separator
-
A string separator between different messages. It defaults to the string ___END_OF_REPORT___.
- stdin debug
-
If set to a true value, debug messages will be sent through
warn()
.
The following methods are implemented within this class.
read($report)
-
Populates the text of the given
$report
using the->text
method. Must return true if succesful or false otherwise.
EXPORT
None by default.
HISTORY
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).
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 124:
Non-ASCII character seen before =encoding in 'Muñoz'. Assuming CP1252