🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #40727

Re: Seek example posting from Net::NNTP

#40727
From: Russ Allbery
Date: Sat, 09 Oct 1999 00:00
14 lines
999 bytes
In news.software.nntp, Emmett McLean <emclean@slip.net> writes:

> Might some kind sole have a Perl script which posts an article using
> Net::NNTP ?

perl -MNet::NNTP -e '$s = Net::NNTP->new; $s->post(<>)' article

Adding error checking left as an exercise to the reader; the documentation
for the module is fairly good.

-- 
Russ Allbery (rra@stanford.edu)         <URL:http://www.eyrie.org/~eagle/>

Technical Details
Message-ID: <ylvh8h3rqo.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.perl.modules.mbox.zip!not-for-mail
References: <7tmobh$j5d@slip.net>

Show Full Headers
Complete Article Headers
Message-ID: <ylvh8h3rqo.fsf@windlord.stanford.edu>
Subject: Re: Seek example posting from Net::NNTP
Date: Sat, 09 Oct 1999 00:00:00 +0000
From: Russ Allbery <rra@stanford.edu>
References: <7tmobh$j5d@slip.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.perl.modules.mbox.zip!not-for-mail
X-Deja-AN: 534621360
Organization: The Eyrie
Newsgroups: news.software.nntp,comp.lang.perl.modules