pullnews and Net:NNTP
julien at trigofacile.com
Mon Apr 28 17:58:53 UTC 2008
>>> - my %localopts = ("Port" => "$localPort");
>>> + my %localopts = ("Port" => "$localPort", "Reader" => 0);
>>> $localcxn = Net::NNTP->new($localServer, %localopts) ||
>>> die "can't connect to server $localServer\n" ;
> Yeah, I'd been meaning to do that for a while and remove all the
> workaround code for older Net::NNTP. I think it's safe to assume that
> everyone has a current version now (although you may want to add a version
> to the use line so that it errors out properly with too old of a version).
use Net::NNTP 2.18; # With libnet 1.0606 (10-Dec-1998) because older versions
# issued MODE READER with Net::NNTP::new().
« -- C'est quoi la vesperna ?
-- C'est du latin de cuisine imbécile ! » (Astérix)
More information about the inn-workers