NoCeM(3pm) | User Contributed Perl Documentation | NoCeM(3pm) |
News::Article::NoCeM - a module to generate accurate nocem notices
use News::Article::NoCeM; my $nocem = new News::Article::NoCeM(); $nocem->hide($type, $spam); $nocem->make_notice($type, $name, $issuer, $group, $prefix); $nocem->sign($keyid, $passphrase); $nocem->issue($conn, $ihave);
Creates a nocem notice on the Usenet articles, which may be posted normally to hide the messages.
News::Article::NoCeM is class that inherits News::Article and adds four new functions: hide(), make_notice(), sign() and issue(), redefine to disable two functions: post() and ihave().
hide() returns the number of the articles hid.
make_notice() returns a News::Article::NoCeM object if success, and return undef if no article is hid.
sign() returns a News::Article::NoCeM object if success, and return undef if no article is hid, or pgp_sign failed.
issue() return the result of News::Article::post() or issue().
Standard article manipulation information can be read in the News::Article manpages.
NoCeM FAQ is available on the web at <URL:http://www.cm.org/faq.html>.
Written by Yen-Ming Lee <leeym@leeym.com>, based on a module by Tim Skirvin <tskirvin@killfile.org>.
Copyright 2004-2005 by Yen-Ming Lee <leeym@leeym.com>. This code may be redistributed under the same terms as Perl itself.
2022-11-27 | perl v5.36.0 |