13 $nntp = Net::NNTP->new('news', Debug => $opt_debug ? 1 : 0);
15 if($subs = $nntp->newsgroups)
17 print join("\n",(keys %$subs)[0 .. 10]),"\n";
24 foreach $group (@groups)
26 $new = $nntp->newnews(time - 3600, lc $group);
28 if(ref($new) && scalar(@$new))
30 print@{$news}[0..3],"\n"
31 if $news = $nntp->article($new->[-1]);