Don't ask to ask, just ask | |
PerlMonks |
How do I fetch a news article or the active newsgroups?by faq_monk (Initiate) |
on Oct 08, 1999 at 00:32 UTC ( [id://777]=perlfaq nodetype: print w/replies, xml ) | Need Help?? |
Current Perl documentation can be found at perldoc.perl.org. Here is our local, out-dated (pre-5.6) version: 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")'
|
|