🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Emmett McLean Fri, 08 Oct 1999 00:00
Seek example posting from Net::NNTP
#40679
Author: Emmett McLean
Date: Fri, 08 Oct 1999 00:00
14 lines
752 bytes
Hi,

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

A reference to a RFC with specs on posting would 
also suffice.

Thanks,

Emmett


Re: Seek example posting from Net::NNTP
#40727
Author: 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/>

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads