NoCeM(3pm)
π NoCeM β the News::Article::NoCeM era π
okay bestie, so this is NoCeM, a Perl module (manual page NoCeM(3pm), from the User Contributed Perl Documentation crew) that generates accurate nocem notices. it's giving very specific, very powerful, and we're gonna get into it π
β¨ NAME β¨
News::Article::NoCeM β a module to generate accurate nocem notices π
πΈ SYNOPSIS πΈ
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);
like, that's the whole vibe right there. five lines and you're posting notices, periodt β¨
π¦ DESCRIPTION π¦
so what it actually does: it creates a nocem notice on the Usenet articles, and those notices may be posted normally to hide the messages. that's the whole point. hide the spam, look iconic doing it π
π USAGE π
use News::Article::NoCeM;
News::Article::NoCeM is a class that inherits News::Article and adds four new functions: hide(), make_notice(), sign() and issue(). and it also redefines two functions to disable them: post() and ihave(). not me just casually turning off two whole methods, we love a boundary-setting queen π
π Article Methods π
hide ( TYPE, ARTICLE, [ARTICLE, ...] )β hides one or more articles in the givenTYPE.ARTICLEis anNews::Articleobject that going to be hid.hide()will skip the articles without Newsgroup or Message-ID, and skip the ones already hid. (it's not gonna double-hide, it has standards π)
hide() returns the number of the articles hid.
postihaveβpost()andihave()is disabled inNews::Article::NoCeM. Please useissue()instead. π« literally don't, they're off, useissue(), iykyk.make_notice ( TYPE, NAME, GROUP, ISSUER, [ PREFIX ] )β retrieve articles marked by hide withTYPE, and make a notice fot them. If there's only one type within a container, then the container itself can be a notice.NAMEis the identifier of the issuer.GROUPis the newsgroup the you will post nocem notice to.ISSUERis the email address of the issuer.PREFIXis the announcement before the nocem notice, which may explain the criteria of this notice, or where to find your public key for PGP verification. π
make_notice() returns a News::Article::NoCeM object if success, and return undef if no article is hid.
sign ( KEYID, PASSPHRASE )β sign the content of the nocem notice withKEYIDandPASSPHRASE. Please make sure that the issuer's public/secret keyring is ready. (do the prep work first bestie, no shortcuts π)
sign() returns a News::Article::NoCeM object if success, and return undef if no article is hid, or pgp_sign failed.
issue ( [ CONN, IHAVE ] )β take optionalCONNas aNet::NNTPobject and issue the nocem notice.IHAVEindicates that callNet::NNTP::ihave()for submitting the notice, otherwiseissue()will callNews::Article::post()by default. π¬
issue() return the result of News::Article::post() or issue().
π NOTES π
standard article manipulation information can be read in the News::Article manpages. go read those too, they're the lore π
NoCeM FAQ is available on the web at <URL:http://www.cm.org/faq.html>. clicking that is free and the knowledge is priceless fr fr β¨
π AUTHOR π
written by Yen-Ming Lee <leeym@leeym.com>, based on a module by Tim Skirvin <tskirvin@killfile.org>. two absolute legends, we stan π«Ά
π COPYRIGHT π
Copyright 2004-2005 by Yen-Ming Lee <leeym@leeym.com>. This code may be redistributed under the same terms as Perl itself. π
and that's a wrap, bestie πΈ this page ships with perl v5.36.0 and was dated 2022-11-27 β no cap, that's the whole NoCeM(3pm) moment. slay, hydrate, and go hide some spam πβ¨ππ¦
π¦ where this page comes from
- debian bookworm: libnews-article-nocem-perl 0.09-3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- debian trixie: libnews-article-nocem-perl 0.09-3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- ubuntu noble: libnews-article-nocem-perl 0.09-3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- ubuntu resolute: libnews-article-nocem-perl 0.09-3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- ubuntu stonking: libnews-article-nocem-perl 0.09-3 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms