🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #71683

Re: simple Perl script needed

#71683
From: sebhoff2002
Date: Tue, 24 May 2005 09:23
20 lines
2349 bytes
Many thanks for this! It works - BUT: It is much slower than what I
need.
If I use a newsreader like MT-NewsWatcher, the XOVER headers are
retrieved very quickly (thousands per minute). Your script on the other
hand sends individual commands to retrieve headers one by one.
In the meantime, I've been playing with Net::NNTP, but I'm stuck
because I don't know enough about references in Perl (one of the things
I have always successfully managed to put off learning...).

I think the extension methods mentioned at
http://search.cpan.org/~gbarr/libnet-1.19/Net/NNTP.pm would do the
trick for me - xover (MESSAGE-SPEC) and overview_fmt () - but
dereferencing the output is beyond me, I'm afraid. ;-) ("The return
value will be a reference to a hash where the keys are the message
numbers and each value contains the text of the requested header for
that message.") I'm hoping to get some help from a colleague tomorrow
who has more advanced programming skills...

Sebastian
Technical Details
Message-ID: <1116926628.109152.169310@g43g2000cwa.googlegroups.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!postnews.google.com!g43g2000cwa.googlegroups.com!not-for-mail
References: <1116840238.189967.41700@o13g2000cwo.googlegroups.com> <tskirvin.20050523173603$2bdd@cairo.ks.uiuc.edu> <1116917630.486426.100140@z14g2000cwz.googlegroups.com> <d6umac$o5g$1@galaxy.uci.agh.edu.pl>

Show Full Headers
Complete Article Headers
Message-ID: <1116926628.109152.169310@g43g2000cwa.googlegroups.com>
Subject: Re: simple Perl script needed
Date: Tue, 24 May 2005 09:23:48 +0000
From: sebhoff2002@yahoo.com
References: <1116840238.189967.41700@o13g2000cwo.googlegroups.com> <tskirvin.20050523173603$2bdd@cairo.ks.uiuc.edu> <1116917630.486426.100140@z14g2000cwz.googlegroups.com> <d6umac$o5g$1@galaxy.uci.agh.edu.pl>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.ams.giganews.com!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!postnews.google.com!g43g2000cwa.googlegroups.com!not-for-mail
Newsgroups: news.software.nntp
Organization: http://groups.google.com
Lines: 20
NNTP-Posting-Host: 130.60.18.123
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1116926633 11083 127.0.0.1 (24 May 2005 09:23:53
 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 24 May 2005 09:23:53 +0000 (UTC)
User-Agent: G2/0.2
Complaints-To: groups-abuse@google.com
Injection-Info: g43g2000cwa.googlegroups.com; posting-host=130.60.18.123;
 posting-account=Ca-1iwwAAAC6dBEUDqGIFAlU6pczIRdf