News::...Poster(3pm)

โœจ NAME โœจ

News::Scan::Poster โ€” keep track of posters to a newsgroup ๐Ÿ’–

okay so basically this lil module is all about who's posting what in a Usenet newsgroup, and it's lowkey obsessed with keeping receipts ๐Ÿ“‹


๐ŸŒธ SYNOPSIS ๐ŸŒธ

use News::Scan::Poster;

my $poster = News::Scan::Poster->new($news_scan_article_obj);

that's it bestie, that's the whole vibe โœจ


๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

This module hands you a class, and objects made from that class are here to keep track of cumulative statistics for the posters in a Usenet newsgroup. We're talking header volume, signature lines, all that good good ๐Ÿ’…

like, every poster gets their own little stat sheet and it just keeps growing as you feed it more articles. it's giving accountant but make it usenet ๐Ÿงฎ


๐ŸŽ€ CONSTRUCTOR ๐ŸŽ€

  • new ( ARTICLE ) โ€” makes you a fresh News::Scan::Poster object โœจ

ARTICLE should be a News::Scan::Article object, or at least something that inherits from the News::Scan::Article class. no random stuff, bestie, it needs the right family tree ๐ŸŒณ

new does some initialization and then returns a News::Scan::Poster object. so like, setup first, then here's your new baby ๐Ÿ‘‘


๐Ÿ’… METHODS ๐Ÿ’…

  • address ( [ ADDRESS ] ) โ€” returns the address of this poster, represented as a Mail::Internet object ๐Ÿ“ฌ

If present, ADDRESS tells the object that the Mail::Internet object in ADDRESS is its address. idea.

bestie i have to be honest with you, that trailing idea. is literally just there in the original and i am not about to gaslight you by deleting it ๐Ÿ’€ it stays.
  • attrib ( [ ATTRIBUTION ] ) โ€” returns some nice attribution for this poster ๐Ÿท๏ธ

If present, ATTRIBUTION tells the object how it shall identify itself when asked. so it picks its own name tag, iconic.

  • message_ids ( [ MESSAGE-ID ] ) โ€” returns a list of Message-IDs attributed to this poster ๐Ÿ†”

If present, MESSAGE-ID is added to this list of this poster's articles. collect them all, no cap.

  • volume โ€” returns the volume in bytes of the traffic generated by this poster ๐Ÿ“ฆ
  • articles โ€” returns the number of articles attributed to this poster ๐Ÿ”ข
  • posted_to โ€” returns a hash where the keys are newsgroup names and the values are the number of times this poster has crossposted to the group of interest and the corresponding newsgroup ๐Ÿ—บ๏ธ
  • crossposts โ€” returns the total number of crossposts this poster has sent through the group of interest ๐Ÿ”€
  • header_volume โ€” returns the volume in bytes generated by this poster's headers ๐Ÿ“จ
  • header_lines โ€” returns the number of header lines generated by this poster ๐Ÿ“
  • body_volume โ€” returns the volume in bytes generated by this poster's message bodies ๐Ÿ“
  • body_lines โ€” returns the number of body lines generated by this poster ๐Ÿ“
  • orig_volume โ€” returns the volume in bytes of original content generated by this poster ๐ŸŒŸ
  • orig_lines โ€” returns the number of original lines generated by this poster โœ๏ธ
  • sig_volume โ€” returns the volume in bytes generated by this poster's signatures โœ’๏ธ
  • sig_lines โ€” returns the number of signature lines generated by this poster ๐Ÿ–Š๏ธ

๐ŸŒˆ SEE ALSO ๐ŸŒˆ

  • News::Scan
  • Mail::Address
  • News::Scan::Article

go read those too, they're the supporting cast and they ate ๐Ÿ’–


๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

Greg Bacon <gbacon@cs.uah.edu> โ€” legend behavior, fr fr ๐Ÿซถ


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. ๐ŸŽ€


and that's the whole page, bestie!! this one's from perl v5.32.0, dated 2021-01-08, and it's filed under News::...Poster(3pm) โ€” go forth and track those posters, mwah ๐Ÿ’‹โœจ

๐Ÿ“ฆ where this page comes from