How do I fetch a news article or the active newsgroups?
Use the Net::NNTP or News::NNTPClient modules, both available from
CPAN.
This can make tasks like fetching the newsgroup list as simple as:
perl -MNews::NNTPClient -e 'print
News::NNTPClient->
;new->list("newsgroups")'
Back to
How do I find out my hostname/domainname/IP address?
Forward to
How do I fetch/put an FTP file?
Up to
the perlfaq9 manpage