NAME
acat - Dump an abuse report stored with Mail::Abuse::Processor::Store.pm
SYNOPSIS
acat [-h] [-a] [-r] [-R delimiter] [-i] [-d] [-m method]
DESCRIPTION
acat
("abuse cat") dumps to its standard output the data stored in a Mail::Abuse::Report object that was stored with Mail::Abuse::Processor::Store
.
This is useful to build external scripts or to simply peruse the database of reports that is created by the Mail::Abuse
system.
The format of the dump is controlled by the command line flags, as follows:
- -h
-
Causes this documentation to be produced.
- -a
-
This option causes all the information fields to be dumped.
- -i
-
Dump all the incidents parsed from the original report.
- -m method
-
Output a give value from the abuse report, given its accessor method. Indirections are possible by using a dot instead of the arrow operator. The key 'key' from the hashref stored under accessor 'baz' would be referred to as baz.key. The 5th element from an arrayref stored under accessor 'bar' would be referenced as bar.4.
Deeper nesting is possible by simply following the given syntax. Multiple keys can be dumped by separating them with ':'.
- -r
-
Dump the original abuse report, as was received. This is the default.
- -R delimiter
-
Just as -r, but output the given delimiter after the original report. This is useful to work with Mail::Abuse::Reader::Stdin to re-feed reports to abuso.
- -d
-
Dump the complete object using
Data::Dumper
.
HISTORY
- Jun, 2003
-
Begin working in the first version of the code, as a replacement of a more rudimentary proof of concept.
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), Mail::Abuse
.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 271:
Non-ASCII character seen before =encoding in 'Muñoz'. Assuming CP1252