News::Scan::Poster - keep track of posters to a newsgroup
use News::Scan::Poster; my $poster = News::Scan::Poster->new($news_scan_article_obj);
This module provides a class whose objects can be used to keep track of cumulative statistics for posters to a Usenet newsgroup such as header volume or signature lines.
ARTICLE should be a News::Scan::Article object or inherit from the News::Scan::Article class.
ARTICLE
News::Scan::Article
new performs some initialization and returns a News::Scan::Poster object.
new
News::Scan::Poster
Returns the address of this poster represented as a Mail::Internet object.
Mail::Internet
If present, ADDRESS tells the object that the Mail::Internet object in ADDRESS is its address. idea.
ADDRESS
Returns some nice attribution for this poster.
If present, ATTRIBUTION tells the object how it shall identify itself when asked.
ATTRIBUTION
Returns a list of Message-IDs attributed to this poster.
If present, MESSAGE-ID is added to this list of this poster's articles.
MESSAGE-ID
Returns the volume in bytes of the traffic generated by this poster.
Returns the number of articles attributed to this poster.
Returns a hash whose keys are newsgroup names and whose values are the number of times this poster has crossposted to the group of interest and the corresponding newsgroup.
Returns the total number of crossposts this poster has sent through the group of interest.
Returns the volume in bytes generated by this poster's headers.
Returns the number of header lines generated by this poster.
Returns the volume in bytes generated by this poster's message bodies.
Returns the number of body lines generated by this poster.
Returns the volume in bytes of original content generated by this poster.
Returns the number of original lines generated by this poster.
Returns the volume in bytes generated by this poster's signatures.
Returns the number of signature lines generated by this poster.
News::Scan, Mail::Address, News::Scan::Article
Greg Bacon <gbacon@cs.uah.edu>
Copyright (c) 1997 Greg Bacon. All Rights Reserved. This library is free software. You may distribute and/or modify it under the same terms as Perl itself.
To install News::Scan, copy and paste the appropriate command in to your terminal.
cpanm
cpanm News::Scan
CPAN shell
perl -MCPAN -e shell install News::Scan
For more information on module installation, please visit the detailed CPAN module installation guide.