Hi.

The documentation for News Requests in LWP[1] mentions that you can't
specify the hostname of the webserver; it uses the environment
variable NNTP_SERVER.

LWP, however, relies on Net::NNTP to connect to the "right" server
when the hostname isn't specified, and Net::NNTP defaults to using the
environment variable NNTPSERVER[2] (and then some).

I don't know what the best way to resolve this is (changing the LWP
docs, having Net::NNTP try NNTP_SERVER if NNTPSERVER isn't set, or
something else), but it took me a little while to figure out why it
didn't work for me, so I thought I'd bring it up.


  Best regards, and thanks for all the modules,

   Adam

[1] <http://search.cpan.org/~gaas/libwww-perl-5.76/lib/LWP.pm#News_Requests>
[2] <http://search.cpan.org/~gbarr/libnet-1.17/Net/NNTP.pm#CONSTRUCTOR>

-- 
 "My baby is my sun                                           Adam Sjøgren
  Not the burning one"                                   [EMAIL PROTECTED]

Reply via email to